Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 108.8 kB / 17.17 MB, free: 5.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 196.5 kB / 20.12 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05098/0.05098, allocations: 8.234 MB / 311.6 MB, free: 2.156 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.89 kB / 434 MB, free: 11.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2583, allocations: 54.35 MB / 488.3 MB, free: 27.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.002944/0.2613, allocations: 2.472 MB / 490.8 MB, free: 25.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.2628, allocations: 1.508 MB / 492.3 MB, free: 24.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.263, allocations: 6.125 kB / 492.3 MB, free: 24.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.2633, allocations: 159 kB / 492.5 MB, free: 24.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.2637, allocations: 192.7 kB / 492.7 MB, free: 24.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.265, allocations: 0.946 MB / 493.6 MB, free: 23.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.2654, allocations: 425.9 kB / 494 MB, free: 23.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.2656, allocations: 112.8 kB / 494.1 MB, free: 23.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.2657, allocations: 176.4 kB / 494.3 MB, free: 22.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.266, allocations: 231.8 kB / 494.5 MB, free: 22.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.266, allocations: 33.62 kB / 494.6 MB, free: 22.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.2663, allocations: 199.2 kB / 494.8 MB, free: 22.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.2664, allocations: 92.17 kB / 494.8 MB, free: 22.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.2665, allocations: 205.2 kB / 495 MB, free: 22.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.267, allocations: 0.5388 MB / 495.6 MB, free: 22.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.267, allocations: 0 / 495.6 MB, free: 22.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.267, allocations: 1.375 kB / 495.6 MB, free: 22.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.267, allocations: 0 / 495.6 MB, free: 22.1 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003174/0.2702, allocations: 1.151 MB / 496.7 MB, free: 21.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2703, allocations: 13.05 kB / 496.8 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.027e-05/0.2704, allocations: 70.12 kB / 496.8 MB, free: 21.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.973e-05/0.2704, allocations: 48.94 kB / 496.9 MB, free: 21.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.2708, allocations: 330.6 kB / 497.2 MB, free: 20.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.2708, allocations: 26.06 kB / 497.2 MB, free: 20.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.2709, allocations: 29.56 kB / 497.2 MB, free: 20.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000562/0.2714, allocations: 416.9 kB / 497.7 MB, free: 20.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.2714, allocations: 9.594 kB / 497.7 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.2715, allocations: 11.19 kB / 497.7 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.2715, allocations: 6.281 kB / 497.7 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.272, allocations: 399.7 kB / 498.1 MB, free: 20.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.2736, allocations: 1.496 MB / 499.6 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009063/0.2745, allocations: 448.5 kB / 0.4883 GB, free: 18.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.2747, allocations: 210.4 kB / 0.4885 GB, free: 18.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.241e-05/0.2748, allocations: 10.05 kB / 0.4885 GB, free: 18.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.2748, allocations: 46.38 kB / 0.4885 GB, free: 18.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.393e-06/0.2748, allocations: 0 / 0.4885 GB, free: 18.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.003795/0.2786, allocations: 1.492 MB / 0.49 GB, free: 17.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.2786, allocations: 56.06 kB / 0.49 GB, free: 17.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.2789, allocations: 279.3 kB / 0.4903 GB, free: 17.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.2789, allocations: 37.36 kB / 0.4904 GB, free: 17.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.279, allocations: 166.7 kB / 0.4905 GB, free: 17.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.2791, allocations: 156.1 kB / 0.4907 GB, free: 17.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.2792, allocations: 84 kB / 0.4907 GB, free: 17.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.2793, allocations: 341.4 kB / 0.4911 GB, free: 16.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.2795, allocations: 216 kB / 0.4913 GB, free: 16.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.2798, allocations: 220.7 kB / 0.4915 GB, free: 16.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006291/0.2805, allocations: 497.2 kB / 0.492 GB, free: 16.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2805, allocations: 0 / 0.492 GB, free: 16.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001865/0.2823, allocations: 0.8724 MB / 0.4928 GB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2823, allocations: 5.562 kB / 0.4928 GB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2824, allocations: 0 / 0.4928 GB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.2839, allocations: 399.9 kB / 0.4932 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.2842, allocations: 66.47 kB / 0.4933 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00519/0.2894, allocations: 5.931 MB / 0.499 GB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.2896, allocations: 42.83 kB / 0.4991 GB, free: 10 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.2897, allocations: 19.05 kB / 0.4991 GB, free: 9.996 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.2898, allocations: 157.8 kB / 0.4993 GB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.2899, allocations: 33.72 kB / 0.4993 GB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.2919, allocations: 0.9025 MB / 0.5002 GB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2919, allocations: 4.688 kB / 0.5002 GB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.2919, allocations: 0 / 0.5002 GB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2919, allocations: 1.219 kB / 0.5002 GB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.2923, allocations: 0.5261 MB / 0.5007 GB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2923, allocations: 4 kB / 0.5007 GB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.2925, allocations: 64.03 kB / 0.5008 GB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001482/0.294, allocations: 383.9 kB / 0.5011 GB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.294, allocations: 10.75 kB / 0.5011 GB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004657/0.2987, allocations: 5.861 MB / 0.5069 GB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2987, allocations: 1.219 kB / 0.5069 GB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.3005, allocations: 0.9285 MB / 0.5078 GB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/0.3006, allocations: 119.8 kB / 0.5079 GB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.3006, allocations: 9.969 kB / 0.5079 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.3009, allocations: 25.14 kB / 0.5079 GB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.301, allocations: 38.34 kB / 0.5079 GB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.301, allocations: 15.38 kB / 0.508 GB, free: 2.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.3012, allocations: 188.6 kB / 0.5081 GB, free: 2.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3012, allocations: 4 kB / 0.5081 GB, free: 2.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000598/0.3018, allocations: 162.5 kB / 0.5083 GB, free: 2.246 MB / 366.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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002376/0.3042, allocations: 1.802 MB / 0.5101 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.3058, allocations: 0.9565 MB / 0.511 GB, free: 156 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3058, allocations: 0 / 0.511 GB, free: 156 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.307, allocations: 0.7092 MB / 0.5117 GB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.3075, allocations: 49.25 kB / 0.5117 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007764/0.3152, allocations: 4.352 MB / 0.516 GB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.3158, allocations: 0.8013 MB / 0.5168 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001874/0.316, allocations: 46.92 kB / 0.5168 GB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.3161, allocations: 119.4 kB / 0.5169 GB, free: 9.91 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3161, allocations: 0 / 0.5169 GB, free: 9.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05052/0.3667, allocations: 13.92 MB / 0.5305 GB, free: 12.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.01, allocations: 19.33 kB / 0.5305 GB, free: 12.16 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.439528280869126] Failed to read output from testmodel.py, exit status != 0: 12.109991657081991 12.124467187 11.8546872 Calling exit ...