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.001371/0.001371, allocations: 108.3 kB / 19.74 MB, free: 1.906 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.001482/0.001482, allocations: 221.4 kB / 23.04 MB, free: 4.988 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.489/1.489, allocations: 230.6 MB / 256.8 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.03746/0.03746, allocations: 6.143 MB / 319.4 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 55.92 kB / 444.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.127, allocations: 55.02 MB / 499.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.005574/0.1326, allocations: 3.189 MB / 0.4909 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00385/0.1365, allocations: 1.8 MB / 0.4926 GB, free: 8.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006805/0.1371, allocations: 12 kB / 0.4926 GB, free: 8.938 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008715/0.138, allocations: 206.7 kB / 0.4928 GB, free: 8.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.1394, allocations: 325.8 kB / 0.4931 GB, free: 8.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.1422, allocations: 1.201 MB / 0.4943 GB, free: 7.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.1435, allocations: 0.6842 MB / 0.495 GB, free: 6.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.1439, allocations: 154.1 kB / 0.4951 GB, free: 6.367 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000505/0.1444, allocations: 306.9 kB / 0.4954 GB, free: 6.066 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006064/0.145, allocations: 310.5 kB / 0.4957 GB, free: 5.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.1452, allocations: 56 kB / 0.4958 GB, free: 5.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007881/0.146, allocations: 295.7 kB / 0.496 GB, free: 5.418 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.1462, allocations: 143.5 kB / 0.4962 GB, free: 5.277 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.1467, allocations: 274.7 kB / 0.4964 GB, free: 5.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.1481, allocations: 0.8833 MB / 0.4973 GB, free: 4.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1481, allocations: 4 kB / 0.4973 GB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1481, allocations: 3.938 kB / 0.4973 GB, free: 4.113 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.055e-05/0.1482, allocations: 4 kB / 0.4973 GB, free: 4.109 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.008051/0.1562, allocations: 1.854 MB / 0.4991 GB, free: 2.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1563, allocations: 15.97 kB / 0.4991 GB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000181/0.1565, allocations: 90.7 kB / 0.4992 GB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.1567, allocations: 76.47 kB / 0.4993 GB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.1574, allocations: 376.4 kB / 0.4997 GB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/0.1574, allocations: 45.38 kB / 0.4997 GB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.1576, allocations: 56.38 kB / 0.4998 GB, free: 1.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.1592, allocations: 1.124 MB / 0.5009 GB, free: 316 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.1592, allocations: 7.938 kB / 0.5009 GB, free: 308 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.1593, allocations: 24 kB / 0.5009 GB, free: 284 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.1593, allocations: 15.94 kB / 0.5009 GB, free: 268 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.1605, allocations: 0.7029 MB / 0.5016 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00394/0.1645, allocations: 1.759 MB / 0.5033 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.1659, allocations: 0.7616 MB / 0.5041 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006911/0.1666, allocations: 410.7 kB / 0.5044 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.989e-05/0.1667, allocations: 16.64 kB / 0.5045 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.1667, allocations: 47.22 kB / 0.5045 GB, free: 12.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.585e-06/0.1667, allocations: 0 / 0.5045 GB, free: 12.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01424/0.181, allocations: 3.343 MB / 0.5078 GB, free: 9.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.1811, allocations: 111.5 kB / 0.5079 GB, free: 9.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.1817, allocations: 381.5 kB / 0.5082 GB, free: 8.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.1819, allocations: 49.7 kB / 0.5083 GB, free: 8.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.1821, allocations: 221.4 kB / 0.5085 GB, free: 8.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/0.1824, allocations: 265.7 kB / 0.5088 GB, free: 8.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/0.1827, allocations: 158.6 kB / 0.5089 GB, free: 7.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.1829, allocations: 362.7 kB / 0.5093 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007765/0.1837, allocations: 453.9 kB / 0.5097 GB, free: 7.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009463/0.1847, allocations: 0.5711 MB / 0.5102 GB, free: 6.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.1864, allocations: 0.9939 MB / 0.5112 GB, free: 5.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1864, allocations: 0 / 0.5112 GB, free: 5.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005683/0.192, allocations: 1.949 MB / 0.5131 GB, free: 3.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.1921, allocations: 4 kB / 0.5131 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.1921, allocations: 0 / 0.5131 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006023/0.1981, allocations: 1.449 MB / 0.5145 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.1987, allocations: 127.8 kB / 0.5147 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2116/0.4102, allocations: 5.717 MB / 0.5202 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000711/0.411, allocations: 81.09 kB / 0.5203 GB, free: 28.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.411, allocations: 29.02 kB / 0.5203 GB, free: 28.48 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.0002905/0.4113, allocations: 187.1 kB / 0.5205 GB, free: 28.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.4115, allocations: 57.69 kB / 0.5206 GB, free: 28.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00535/0.4168, allocations: 1.886 MB / 0.5224 GB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.4168, allocations: 8.391 kB / 0.5224 GB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4168, allocations: 1.094 kB / 0.5224 GB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.4168, allocations: 8.062 kB / 0.5224 GB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00607/0.4229, allocations: 2.54 MB / 0.5249 GB, free: 27.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.4229, allocations: 0 / 0.5249 GB, free: 27.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.4232, allocations: 90.41 kB / 0.525 GB, free: 27.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005286/0.4285, allocations: 1.288 MB / 0.5263 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.41e-05/0.4286, allocations: 18.33 kB / 0.5263 GB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/0.4388, allocations: 5.615 MB / 0.5318 GB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4388, allocations: 2.094 kB / 0.5318 GB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/0.444, allocations: 1.869 MB / 0.5336 GB, free: 22.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.4441, allocations: 69.95 kB / 0.5337 GB, free: 22.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4442, allocations: 12.55 kB / 0.5337 GB, free: 22.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.4447, allocations: 46.14 kB / 0.5337 GB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/0.445, allocations: 64 kB / 0.5338 GB, free: 22.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.445, allocations: 23.17 kB / 0.5338 GB, free: 22.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003041/0.4453, allocations: 260.6 kB / 0.534 GB, free: 22.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4453, allocations: 7.938 kB / 0.534 GB, free: 22.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000894/0.4462, allocations: 290.9 kB / 0.5343 GB, free: 22.4 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.005049/0.4513, allocations: 2.431 MB / 0.5367 GB, free: 21.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003789/0.4551, allocations: 1.557 MB / 0.5382 GB, free: 20.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.4551, allocations: 5.266 kB / 0.5382 GB, free: 20.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002727/0.4578, allocations: 1.036 MB / 0.5392 GB, free: 20 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.4583, allocations: 69.2 kB / 0.5393 GB, free: 19.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.4726, allocations: 7.664 MB / 0.5468 GB, free: 16.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.4728, allocations: 289.9 kB / 0.5471 GB, free: 16.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.4731, allocations: 79.59 kB / 0.5471 GB, free: 16.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.4733, allocations: 212.3 kB / 0.5473 GB, free: 15.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4733, allocations: 0 / 0.5473 GB, free: 15.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05305/0.5264, allocations: 23.69 MB / 0.5705 GB, free: 9.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.6, allocations: 7.688 kB / 0.5705 GB, free: 9.312 MB / 398.1 MB " [Timeout remaining time 646] (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: 16.273600270971656] Failed to read output from testmodel.py, exit status != 0: 13.730887392070144 13.757661535 13.604240414 Calling exit ...