Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.001301/0.001301, allocations: 96.38 kB / 20.52 MB, free: 1.328 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.001404/0.001404, allocations: 213.8 kB / 23.82 MB, free: 4.48 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.474/1.474, allocations: 230.6 MB / 257.6 MB, free: 7.805 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.03853/0.03853, allocations: 6.141 MB / 320.1 MB, free: 12.75 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.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 43.94 kB / 445.2 MB, free: 5.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1113, allocations: 55.03 MB / 0.4885 GB, free: 13.94 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.005007/0.1163, allocations: 3.177 MB / 0.4916 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.1193, allocations: 1.796 MB / 0.4934 GB, free: 8.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003586/0.1197, allocations: 12 kB / 0.4934 GB, free: 8.938 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006137/0.1203, allocations: 206.6 kB / 0.4936 GB, free: 8.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009459/0.1212, allocations: 321.9 kB / 0.4939 GB, free: 8.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.1238, allocations: 1.206 MB / 0.4951 GB, free: 7.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.1248, allocations: 0.6881 MB / 0.4957 GB, free: 6.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.1251, allocations: 166.1 kB / 0.4959 GB, free: 6.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.1254, allocations: 298.9 kB / 0.4962 GB, free: 6.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/0.1259, allocations: 366.5 kB / 0.4965 GB, free: 5.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.086e-05/0.126, allocations: 56 kB / 0.4966 GB, free: 5.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006179/0.1266, allocations: 303.7 kB / 0.4969 GB, free: 5.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.1267, allocations: 147.4 kB / 0.497 GB, free: 5.203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.127, allocations: 274.6 kB / 0.4973 GB, free: 4.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.1281, allocations: 0.8795 MB / 0.4981 GB, free: 4.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1282, allocations: 0 / 0.4981 GB, free: 4.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1282, allocations: 0 / 0.4981 GB, free: 4.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1282, allocations: 0 / 0.4981 GB, free: 4.051 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.007831/0.136, allocations: 1.862 MB / 0.5 GB, free: 2.152 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.136, allocations: 16.03 kB / 0.5 GB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.058e-05/0.1361, allocations: 13.19 kB / 0.5 GB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.1362, allocations: 94.64 kB / 0.5001 GB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.1364, allocations: 76.47 kB / 0.5001 GB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006711/0.1371, allocations: 380.4 kB / 0.5005 GB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.1371, allocations: 45.38 kB / 0.5006 GB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.1372, allocations: 56.38 kB / 0.5006 GB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.1388, allocations: 1.124 MB / 0.5017 GB, free: 232 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1388, allocations: 0 / 0.5017 GB, free: 232 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/0.1388, allocations: 24 kB / 0.5017 GB, free: 208 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1389, allocations: 12 kB / 0.5017 GB, free: 196 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.14, allocations: 0.7107 MB / 0.5024 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003837/0.1439, allocations: 1.751 MB / 0.5041 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.1453, allocations: 0.7732 MB / 0.5049 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006644/0.146, allocations: 418.6 kB / 0.5053 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.667e-05/0.1461, allocations: 16.64 kB / 0.5053 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.1461, allocations: 43.22 kB / 0.5054 GB, free: 12.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.424e-06/0.1461, allocations: 0 / 0.5054 GB, free: 12.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01465/0.1608, allocations: 3.347 MB / 0.5086 GB, free: 9.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.93e-05/0.1609, allocations: 115.5 kB / 0.5087 GB, free: 8.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.1614, allocations: 381.4 kB / 0.5091 GB, free: 8.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.1615, allocations: 45.7 kB / 0.5091 GB, free: 8.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.1617, allocations: 221.5 kB / 0.5093 GB, free: 8.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.162, allocations: 257.8 kB / 0.5096 GB, free: 8.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.1623, allocations: 158.6 kB / 0.5097 GB, free: 7.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.1625, allocations: 362.8 kB / 0.5101 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007334/0.1632, allocations: 445.9 kB / 0.5105 GB, free: 7.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009133/0.1641, allocations: 0.575 MB / 0.5111 GB, free: 6.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.1658, allocations: 0.9978 MB / 0.5121 GB, free: 5.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1658, allocations: 0 / 0.5121 GB, free: 5.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005977/0.1718, allocations: 1.949 MB / 0.514 GB, free: 3.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1718, allocations: 8 kB / 0.514 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1718, allocations: 0 / 0.514 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006141/0.1779, allocations: 1.437 MB / 0.5154 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.1785, allocations: 139.8 kB / 0.5155 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2204/0.3989, allocations: 5.702 MB / 0.5211 GB, free: 28.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007289/0.3996, allocations: 84.2 kB / 0.5211 GB, free: 28.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.3997, allocations: 29.34 kB / 0.5212 GB, free: 28.38 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.000282/0.4, allocations: 193.2 kB / 0.5214 GB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4001, allocations: 55.84 kB / 0.5214 GB, free: 28.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005413/0.4055, allocations: 1.885 MB / 0.5233 GB, free: 28.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.4055, allocations: 8.375 kB / 0.5233 GB, free: 28.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4055, allocations: 0.6562 kB / 0.5233 GB, free: 28.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.4055, allocations: 4.531 kB / 0.5233 GB, free: 28.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006226/0.4118, allocations: 2.545 MB / 0.5258 GB, free: 26.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.4118, allocations: 0.9844 kB / 0.5258 GB, free: 26.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.4121, allocations: 94.14 kB / 0.5258 GB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005572/0.4177, allocations: 1.281 MB / 0.5271 GB, free: 26.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.4178, allocations: 19.2 kB / 0.5271 GB, free: 26.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009873/0.4277, allocations: 5.616 MB / 0.5326 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4277, allocations: 0.6094 kB / 0.5326 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005052/0.4327, allocations: 1.867 MB / 0.5344 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.4329, allocations: 67.81 kB / 0.5345 GB, free: 22.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.433, allocations: 20.05 kB / 0.5345 GB, free: 22.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005589/0.4335, allocations: 47.28 kB / 0.5346 GB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/0.4338, allocations: 67.86 kB / 0.5346 GB, free: 22.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-05/0.4339, allocations: 24.16 kB / 0.5346 GB, free: 22.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003405/0.4342, allocations: 260 kB / 0.5349 GB, free: 22.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4342, allocations: 0 / 0.5349 GB, free: 22.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00102/0.4352, allocations: 292 kB / 0.5352 GB, free: 22.29 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 (55): * Single equations (assignments): 54 * 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.005558/0.4408, allocations: 2.445 MB / 0.5376 GB, free: 20.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00438/0.4452, allocations: 1.556 MB / 0.5391 GB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/0.4452, allocations: 6.328 kB / 0.5391 GB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003036/0.4482, allocations: 1.022 MB / 0.5401 GB, free: 19.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.4489, allocations: 75.11 kB / 0.5401 GB, free: 19.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.4646, allocations: 7.667 MB / 0.5476 GB, free: 16.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.4648, allocations: 291.1 kB / 0.5479 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003168/0.4651, allocations: 76.08 kB / 0.548 GB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.4654, allocations: 212 kB / 0.5482 GB, free: 15.78 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4654, allocations: 4 kB / 0.5482 GB, free: 15.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05056/0.516, allocations: 23.28 MB / 0.5709 GB, free: 9.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.75, allocations: 7.922 kB / 0.5709 GB, free: 9.473 MB / 398.1 MB " [Timeout remaining time 645] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.586221879930235] Failed to read output from testmodel.py, exit status != 0: 14.930500637972727 14.948462183 14.817057805 Calling exit ...