Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.00135/0.00135, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001667/0.001667, allocations: 224.1 kB / 23.03 MB, free: 4.621 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.03633/0.03633, allocations: 6.14 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.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 51.92 kB / 444.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1133, allocations: 55.02 MB / 499.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004478/0.1177, allocations: 2.833 MB / 0.4905 GB, free: 11.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003135/0.1209, allocations: 1.843 MB / 0.4923 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004102/0.1213, allocations: 8 kB / 0.4923 GB, free: 9.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006492/0.1219, allocations: 206.8 kB / 0.4925 GB, free: 9.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.1229, allocations: 317.9 kB / 0.4928 GB, free: 8.734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.1255, allocations: 1.172 MB / 0.494 GB, free: 7.562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009757/0.1265, allocations: 0.6375 MB / 0.4946 GB, free: 6.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.1268, allocations: 131.7 kB / 0.4947 GB, free: 6.789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004301/0.1272, allocations: 282.9 kB / 0.495 GB, free: 6.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005118/0.1277, allocations: 298.6 kB / 0.4953 GB, free: 6.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.1278, allocations: 55.94 kB / 0.4953 GB, free: 6.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006455/0.1285, allocations: 283.8 kB / 0.4956 GB, free: 5.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.1286, allocations: 127.5 kB / 0.4957 GB, free: 5.762 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.129, allocations: 258.7 kB / 0.496 GB, free: 5.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.1302, allocations: 0.8212 MB / 0.4968 GB, free: 4.684 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1302, allocations: 0 / 0.4968 GB, free: 4.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1302, allocations: 4 kB / 0.4968 GB, free: 4.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.1302, allocations: 0 / 0.4968 GB, free: 4.68 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.007736/0.138, allocations: 1.819 MB / 0.4985 GB, free: 2.824 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.138, allocations: 8.031 kB / 0.4986 GB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.1382, allocations: 86.66 kB / 0.4986 GB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.1383, allocations: 72.52 kB / 0.4987 GB, free: 2.652 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.139, allocations: 368.5 kB / 0.4991 GB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.1391, allocations: 37.38 kB / 0.4991 GB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.693e-05/0.1392, allocations: 48.38 kB / 0.4991 GB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.1407, allocations: 1.081 MB / 0.5002 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1407, allocations: 3.938 kB / 0.5002 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/0.1408, allocations: 27.98 kB / 0.5002 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.1408, allocations: 12 kB / 0.5002 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.1419, allocations: 0.6755 MB / 0.5009 GB, free: 288 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004039/0.1459, allocations: 1.675 MB / 0.5025 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.1476, allocations: 0.7934 MB / 0.5033 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000707/0.1483, allocations: 422.7 kB / 0.5037 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-05/0.1484, allocations: 16.64 kB / 0.5037 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.1484, allocations: 43.22 kB / 0.5038 GB, free: 13.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.965e-06/0.1484, allocations: 0 / 0.5038 GB, free: 13.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01235/0.1608, allocations: 3.109 MB / 0.5068 GB, free: 10.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.1609, allocations: 115.4 kB / 0.5069 GB, free: 10.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.1615, allocations: 377.5 kB / 0.5073 GB, free: 9.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.1617, allocations: 45.7 kB / 0.5073 GB, free: 9.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.1618, allocations: 209.6 kB / 0.5075 GB, free: 9.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.1621, allocations: 257.7 kB / 0.5078 GB, free: 9.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.1624, allocations: 154.6 kB / 0.5079 GB, free: 8.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.1626, allocations: 362.8 kB / 0.5083 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007662/0.1634, allocations: 469.8 kB / 0.5087 GB, free: 8.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009014/0.1643, allocations: 0.5827 MB / 0.5093 GB, free: 7.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.166, allocations: 1.037 MB / 0.5103 GB, free: 6.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.166, allocations: 3.984 kB / 0.5103 GB, free: 6.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005787/0.1718, allocations: 1.988 MB / 0.5122 GB, free: 4.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.1718, allocations: 8 kB / 0.5122 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1719, allocations: 0 / 0.5122 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005846/0.1777, allocations: 1.456 MB / 0.5137 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.1783, allocations: 123.8 kB / 0.5138 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2468/0.4251, allocations: 6.016 MB / 0.5197 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.4257, allocations: 75.97 kB / 0.5197 GB, free: 28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.4258, allocations: 30.56 kB / 0.5198 GB, free: 28 MB / 382.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 (75): * Single equations (assignments): 74 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002291/0.426, allocations: 191.8 kB / 0.5199 GB, free: 27.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.4261, allocations: 64.06 kB / 0.52 GB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005103/0.4312, allocations: 1.953 MB / 0.5219 GB, free: 27.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4312, allocations: 11.44 kB / 0.5219 GB, free: 27.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4312, allocations: 4.875 kB / 0.5219 GB, free: 27.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.4312, allocations: 4.172 kB / 0.5219 GB, free: 27.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006041/0.4373, allocations: 2.582 MB / 0.5244 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.4373, allocations: 1.969 kB / 0.5244 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.4376, allocations: 95.38 kB / 0.5245 GB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00533/0.443, allocations: 1.287 MB / 0.5258 GB, free: 26.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.09e-05/0.443, allocations: 14.19 kB / 0.5258 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01032/0.4534, allocations: 5.949 MB / 0.5316 GB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4534, allocations: 4.344 kB / 0.5316 GB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005299/0.4587, allocations: 1.911 MB / 0.5335 GB, free: 22.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.4588, allocations: 71.11 kB / 0.5336 GB, free: 22.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.4589, allocations: 16.55 kB / 0.5336 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005697/0.4595, allocations: 49.5 kB / 0.5336 GB, free: 22.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.4598, allocations: 65.48 kB / 0.5337 GB, free: 22.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-05/0.4598, allocations: 26.5 kB / 0.5337 GB, free: 22.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003015/0.4601, allocations: 256.9 kB / 0.534 GB, free: 22.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4601, allocations: 0 / 0.534 GB, free: 22.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008754/0.461, allocations: 279.8 kB / 0.5342 GB, free: 22.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 (56): * Single equations (assignments): 55 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005376/0.4664, allocations: 2.49 MB / 0.5367 GB, free: 20.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003963/0.4704, allocations: 1.598 MB / 0.5382 GB, free: 19.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.4704, allocations: 1.188 kB / 0.5382 GB, free: 19.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003093/0.4735, allocations: 1.06 MB / 0.5392 GB, free: 19.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.4741, allocations: 74 kB / 0.5393 GB, free: 19.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.4886, allocations: 7.743 MB / 0.5469 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.4888, allocations: 286 kB / 0.5472 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002818/0.4891, allocations: 79.17 kB / 0.5472 GB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.4893, allocations: 200.9 kB / 0.5474 GB, free: 15.45 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4893, allocations: 0 / 0.5474 GB, free: 15.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08206/0.5714, allocations: 24.21 MB / 0.5711 GB, free: 8.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.73, allocations: 7.938 kB / 0.5711 GB, free: 8.566 MB / 398.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.405598429962993] Failed to read output from testmodel.py, exit status != 0: 13.861772178672254 13.886935034 13.751773173 Calling exit ...