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.001426/0.001426, allocations: 114.9 kB / 17.88 MB, free: 5.051 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.001487/0.001487, allocations: 212.5 kB / 20.84 MB, free: 2.105 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.5/1.5, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.03656/0.03656, allocations: 6.135 MB / 316.4 MB, free: 1.172 MB / 238.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 54.2 kB / 439.9 MB, free: 40.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1117, allocations: 54.99 MB / 494.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.003476/0.1152, allocations: 3.237 MB / 498.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.1175, allocations: 1.906 MB / 0.4884 GB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/0.1179, allocations: 16 kB / 0.4884 GB, free: 5.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005841/0.1185, allocations: 198.8 kB / 0.4886 GB, free: 5.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.1198, allocations: 317.9 kB / 0.4889 GB, free: 4.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.1221, allocations: 1.276 MB / 0.4901 GB, free: 3.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.1231, allocations: 0.6492 MB / 0.4907 GB, free: 2.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/0.1234, allocations: 147.1 kB / 0.4909 GB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003551/0.1237, allocations: 274.9 kB / 0.4911 GB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004507/0.1242, allocations: 338.6 kB / 0.4915 GB, free: 2.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.1243, allocations: 52 kB / 0.4915 GB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005722/0.1249, allocations: 299.7 kB / 0.4918 GB, free: 1.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-05/0.125, allocations: 127.5 kB / 0.4919 GB, free: 1.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.1252, allocations: 318.3 kB / 0.4922 GB, free: 1.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008497/0.1261, allocations: 0.8133 MB / 0.493 GB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1261, allocations: 8 kB / 0.493 GB, free: 0.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1261, allocations: 0 / 0.493 GB, free: 0.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.37e-05/0.1261, allocations: 3.938 kB / 0.493 GB, free: 0.4961 MB / 350.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.007796/0.1339, allocations: 1.894 MB / 0.4949 GB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.1339, allocations: 8.031 kB / 0.4949 GB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.694e-05/0.134, allocations: 13.19 kB / 0.4949 GB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.1341, allocations: 86.64 kB / 0.495 GB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.1343, allocations: 68.56 kB / 0.4951 GB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007102/0.135, allocations: 430.3 kB / 0.4955 GB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.1351, allocations: 37.38 kB / 0.4955 GB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.1352, allocations: 52.38 kB / 0.4956 GB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.1364, allocations: 0.7213 MB / 0.4963 GB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1364, allocations: 0 / 0.4963 GB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-05/0.1365, allocations: 20 kB / 0.4963 GB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.1365, allocations: 12 kB / 0.4963 GB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.1377, allocations: 0.656 MB / 0.4969 GB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004414/0.1421, allocations: 2.235 MB / 0.4991 GB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.1437, allocations: 1.011 MB / 0.5001 GB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/0.1444, allocations: 418.7 kB / 0.5005 GB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.1445, allocations: 24.61 kB / 0.5005 GB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.1446, allocations: 43.22 kB / 0.5006 GB, free: 8.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.735e-06/0.1446, allocations: 0 / 0.5006 GB, free: 8.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01323/0.1578, allocations: 3.164 MB / 0.5036 GB, free: 5.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002105/0.158, allocations: 115.4 kB / 0.5038 GB, free: 5.152 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007008/0.1587, allocations: 381.5 kB / 0.5041 GB, free: 4.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.1589, allocations: 41.7 kB / 0.5042 GB, free: 4.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.1591, allocations: 213.5 kB / 0.5044 GB, free: 4.512 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.1594, allocations: 257.7 kB / 0.5046 GB, free: 4.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003419/0.1597, allocations: 154.6 kB / 0.5048 GB, free: 4.102 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.1599, allocations: 362.8 kB / 0.5051 GB, free: 3.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008022/0.1607, allocations: 461.8 kB / 0.5055 GB, free: 3.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009695/0.1617, allocations: 0.5287 MB / 0.5061 GB, free: 2.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.1636, allocations: 1.021 MB / 0.5071 GB, free: 1.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.1636, allocations: 0 / 0.5071 GB, free: 1.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005839/0.1694, allocations: 1.973 MB / 0.509 GB, free: 15.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.1695, allocations: 8 kB / 0.509 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.1695, allocations: 7.922 kB / 0.509 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006158/0.1756, allocations: 1.457 MB / 0.5104 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.1763, allocations: 131.8 kB / 0.5105 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.1902, allocations: 6.285 MB / 0.5167 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008172/0.191, allocations: 75.55 kB / 0.5168 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.1911, allocations: 31.98 kB / 0.5168 GB, free: 7.613 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.0003943/0.1915, allocations: 200.4 kB / 0.517 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.1917, allocations: 55.62 kB / 0.517 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006091/0.1978, allocations: 1.943 MB / 0.5189 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.1978, allocations: 8 kB / 0.5189 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1978, allocations: 3.984 kB / 0.5189 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.1978, allocations: 7.922 kB / 0.519 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007007/0.2048, allocations: 2.78 MB / 0.5217 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2048, allocations: 4 kB / 0.5217 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.2052, allocations: 99.84 kB / 0.5218 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005852/0.2111, allocations: 1.285 MB / 0.523 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.2112, allocations: 23.92 kB / 0.523 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/0.2242, allocations: 6.199 MB / 0.5291 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2242, allocations: 0 / 0.5291 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005693/0.2299, allocations: 1.909 MB / 0.531 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.2301, allocations: 144.6 kB / 0.5311 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.2302, allocations: 16 kB / 0.5311 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.2309, allocations: 47.97 kB / 0.5312 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/0.2312, allocations: 60.91 kB / 0.5312 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.082e-05/0.2313, allocations: 31.98 kB / 0.5312 GB, free: 8.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005999/0.2319, allocations: 255.2 kB / 0.5315 GB, free: 8.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2319, allocations: 0 / 0.5315 GB, free: 8.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001218/0.2331, allocations: 275.9 kB / 0.5318 GB, free: 8.012 MB / 398.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.006088/0.2392, allocations: 2.473 MB / 0.5342 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004653/0.2439, allocations: 1.581 MB / 0.5357 GB, free: 3.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.2439, allocations: 4 kB / 0.5357 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00333/0.2472, allocations: 1.056 MB / 0.5367 GB, free: 2.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007103/0.2479, allocations: 69.48 kB / 0.5368 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/0.2657, allocations: 7.71 MB / 0.5443 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.2664, allocations: 0.8816 MB / 0.5452 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000434/0.2668, allocations: 76.36 kB / 0.5453 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.2672, allocations: 199.4 kB / 0.5455 GB, free: 9.797 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2672, allocations: 3.938 kB / 0.5455 GB, free: 9.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0594/0.3266, allocations: 23.97 MB / 0.5689 GB, free: 2.004 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.64, allocations: 10.72 kB / 0.5689 GB, free: 2 MB / 430.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.500750122999307] Failed to read output from testmodel.py, exit status != 0: 13.796838779002428 13.813993361 13.684783328 Calling exit ...