Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 108.3 kB / 19.75 MB, free: 1.879 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 219.4 kB / 23.03 MB, free: 5.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.934 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03887/0.03887, allocations: 6.142 MB / 319.4 MB, free: 12.73 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 51.92 kB / 444.4 MB, free: 5.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1021, allocations: 55.01 MB / 499.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.003025/0.1052, allocations: 1.596 MB / 0.4893 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.1073, allocations: 1.45 MB / 0.4907 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.195e-05/0.1074, allocations: 4 kB / 0.4907 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.1078, allocations: 131.3 kB / 0.4908 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.1081, allocations: 91.27 kB / 0.4909 GB, free: 10.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.1099, allocations: 0.8466 MB / 0.4918 GB, free: 9.809 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.1103, allocations: 219 kB / 0.492 GB, free: 9.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.1105, allocations: 88.48 kB / 0.492 GB, free: 9.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1106, allocations: 95.66 kB / 0.4921 GB, free: 9.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.1108, allocations: 107.5 kB / 0.4922 GB, free: 9.305 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.1109, allocations: 24 kB / 0.4923 GB, free: 9.281 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004548/0.1113, allocations: 203.8 kB / 0.4925 GB, free: 9.082 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.1114, allocations: 55.7 kB / 0.4925 GB, free: 9.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1115, allocations: 95.58 kB / 0.4926 GB, free: 8.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006713/0.1122, allocations: 414.5 kB / 0.493 GB, free: 8.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1122, allocations: 0 / 0.493 GB, free: 8.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1122, allocations: 4 kB / 0.493 GB, free: 8.523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1122, allocations: 0 / 0.493 GB, free: 8.523 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002186/0.1144, allocations: 0.6962 MB / 0.4937 GB, free: 7.793 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.1144, allocations: 12.03 kB / 0.4937 GB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.577e-05/0.1145, allocations: 58.72 kB / 0.4937 GB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.1146, allocations: 24.8 kB / 0.4938 GB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.1149, allocations: 182.1 kB / 0.4939 GB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.1149, allocations: 20.88 kB / 0.494 GB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.1149, allocations: 24.38 kB / 0.494 GB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.1155, allocations: 300.6 kB / 0.4943 GB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.1155, allocations: 3.938 kB / 0.4943 GB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.1155, allocations: 8 kB / 0.4943 GB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1155, allocations: 8 kB / 0.4943 GB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.116, allocations: 301.9 kB / 0.4946 GB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.1176, allocations: 0.767 MB / 0.4953 GB, free: 6.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.1182, allocations: 258.4 kB / 0.4956 GB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.1183, allocations: 112.8 kB / 0.4957 GB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.1185, allocations: 11.98 kB / 0.4957 GB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.1185, allocations: 38.56 kB / 0.4957 GB, free: 5.586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.402e-06/0.1185, allocations: 0 / 0.4957 GB, free: 5.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001279/0.1198, allocations: 442.6 kB / 0.4962 GB, free: 5.145 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.1198, allocations: 55.34 kB / 0.4962 GB, free: 5.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.12, allocations: 176 kB / 0.4964 GB, free: 4.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.1201, allocations: 25.7 kB / 0.4964 GB, free: 4.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1202, allocations: 152.6 kB / 0.4965 GB, free: 4.715 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.835e-05/0.1203, allocations: 99.16 kB / 0.4966 GB, free: 4.617 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.1204, allocations: 65.69 kB / 0.4967 GB, free: 4.547 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1205, allocations: 330.8 kB / 0.497 GB, free: 4.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.1207, allocations: 116 kB / 0.4971 GB, free: 4.102 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.1209, allocations: 132.8 kB / 0.4973 GB, free: 3.973 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.1214, allocations: 277.1 kB / 0.4975 GB, free: 3.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.1214, allocations: 4 kB / 0.4975 GB, free: 3.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000768/0.1222, allocations: 398.1 kB / 0.4979 GB, free: 3.297 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1222, allocations: 7.984 kB / 0.4979 GB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1222, allocations: 4 kB / 0.4979 GB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/0.1225, allocations: 48.83 kB / 0.498 GB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.1229, allocations: 63.89 kB / 0.498 GB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.1246, allocations: 1.435 MB / 0.4994 GB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.1248, allocations: 27.81 kB / 0.4994 GB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.1248, allocations: 8 kB / 0.4995 GB, free: 1.582 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.125, allocations: 145.7 kB / 0.4996 GB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.125, allocations: 15.91 kB / 0.4996 GB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007209/0.1257, allocations: 348.5 kB / 0.4999 GB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1258, allocations: 4 kB / 0.4999 GB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1258, allocations: 0 / 0.4999 GB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1258, allocations: 0 / 0.4999 GB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.1269, allocations: 0.6744 MB / 0.5006 GB, free: 340 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1269, allocations: 0 / 0.5006 GB, free: 340 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.1271, allocations: 39.97 kB / 0.5006 GB, free: 300 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/0.1273, allocations: 56.81 kB / 0.5007 GB, free: 240 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.1273, allocations: 8 kB / 0.5007 GB, free: 232 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.1289, allocations: 1.428 MB / 0.5021 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1289, allocations: 0 / 0.5021 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.1295, allocations: 401 kB / 0.5025 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.1295, allocations: 15.84 kB / 0.5025 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.1296, allocations: 7.938 kB / 0.5025 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1297, allocations: 8 kB / 0.5025 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.1297, allocations: 15.91 kB / 0.5025 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.1298, allocations: 20.08 kB / 0.5025 GB, free: 14.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.1299, allocations: 124.9 kB / 0.5027 GB, free: 14.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1299, allocations: 0 / 0.5027 GB, free: 14.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003879/0.1303, allocations: 79.89 kB / 0.5027 GB, free: 14.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.1313, allocations: 0.9361 MB / 0.5037 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008028/0.1321, allocations: 402.3 kB / 0.504 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1321, allocations: 0 / 0.504 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004563/0.1326, allocations: 246.5 kB / 0.5043 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.1328, allocations: 12 kB / 0.5043 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.1364, allocations: 2.508 MB / 0.5067 GB, free: 9.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.1365, allocations: 121.2 kB / 0.5069 GB, free: 9.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.1367, allocations: 33.61 kB / 0.5069 GB, free: 9.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.1368, allocations: 67.41 kB / 0.5069 GB, free: 9.539 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1368, allocations: 0 / 0.5069 GB, free: 9.539 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.1732, allocations: 5.478 MB / 0.5123 GB, free: 4.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.64, allocations: 2.969 kB / 0.5123 GB, free: 4.207 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.40531157888472] Failed to read output from testmodel.py, exit status != 0: 11.758753377944231 11.973458107 11.858106014 Calling exit ...