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.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.001092/0.001092, allocations: 80.53 kB / 19.96 MB, free: 4.598 MB / 18.57 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.0009118/0.0009118, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9176/0.9176, allocations: 177.1 MB / 203.6 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.02287/0.02287, allocations: 4.469 MB / 264.5 MB, free: 8.77 MB / 250.7 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.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 1.563e-06/1.563e-06, allocations: 0 / 389.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.428e-05, allocations: 6.281 kB / 389.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.002321/0.002345, allocations: 2.162 MB / 391.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.003775, allocations: 1.485 MB / 393.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.003877, allocations: 4 kB / 393.3 MB, free: 3.727 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.004212, allocations: 158.9 kB / 393.4 MB, free: 3.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.004532, allocations: 190.6 kB / 393.6 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009588/0.005491, allocations: 0.8519 MB / 394.5 MB, free: 2.527 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.005871, allocations: 429.7 kB / 394.9 MB, free: 2.105 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.006053, allocations: 96.8 kB / 395 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.006225, allocations: 247.4 kB / 395.2 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.006425, allocations: 175.5 kB / 395.4 MB, free: 1.594 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.006467, allocations: 32 kB / 395.4 MB, free: 1.562 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.006706, allocations: 191.7 kB / 395.6 MB, free: 1.375 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.902e-05/0.006755, allocations: 87.61 kB / 395.7 MB, free: 1.289 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.5e-05/0.00685, allocations: 135.6 kB / 395.8 MB, free: 1.156 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007497/0.0076, allocations: 0.5452 MB / 396.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.007602, allocations: 0 / 396.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.007603, allocations: 0 / 396.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.007609, allocations: 0 / 396.4 MB, free: 0.6094 MB / 314.7 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.00193/0.009538, allocations: 1.07 MB / 397.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.009577, allocations: 8.031 kB / 397.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.477e-05/0.009672, allocations: 71.38 kB / 397.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.009735, allocations: 44.66 kB / 397.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.01006, allocations: 272.5 kB / 397.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.01008, allocations: 25.03 kB / 397.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.01012, allocations: 40.38 kB / 397.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005282/0.01065, allocations: 0.6424 MB / 398.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.01066, allocations: 4.125 kB / 398.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.01069, allocations: 16.38 kB / 398.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.0107, allocations: 12.12 kB / 398.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.0111, allocations: 406.5 kB / 399 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.01227, allocations: 1.022 MB / 400 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006241/0.01289, allocations: 454.9 kB / 400.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.01311, allocations: 212.8 kB / 400.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.424e-05/0.01317, allocations: 8 kB / 400.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.01319, allocations: 42.5 kB / 400.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.393e-06/0.01319, allocations: 4 kB / 400.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.00233/0.01552, allocations: 1.269 MB / 402 MB, free: 10.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.01556, allocations: 55.41 kB / 402 MB, free: 10.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.01576, allocations: 257.8 kB / 402.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.01579, allocations: 41.64 kB / 402.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.01587, allocations: 165 kB / 402.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.9e-05/0.01595, allocations: 158.6 kB / 402.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.54e-05/0.01605, allocations: 86.19 kB / 402.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.01614, allocations: 350.7 kB / 403.1 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.01637, allocations: 216.9 kB / 403.3 MB, free: 9.461 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.01678, allocations: 224.4 kB / 403.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.01728, allocations: 498.2 kB / 404 MB, free: 8.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01728, allocations: 4 kB / 404 MB, free: 8.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001198/0.01848, allocations: 0.8742 MB / 404.8 MB, free: 7.859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.0185, allocations: 11.94 kB / 404.9 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.0185, allocations: 0 / 404.9 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009167/0.01942, allocations: 386.1 kB / 405.2 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.01956, allocations: 71.91 kB / 405.3 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004421/0.02398, allocations: 5.538 MB / 410.8 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.02411, allocations: 39.66 kB / 410.9 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.02414, allocations: 12.06 kB / 410.9 MB, free: 1.469 MB / 330.7 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.0001282/0.02426, allocations: 157.8 kB / 411 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.02431, allocations: 39.75 kB / 411.1 MB, free: 1.266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.02555, allocations: 0.8975 MB / 412 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.02555, allocations: 8 kB / 412 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.02555, allocations: 0 / 412 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.02556, allocations: 7.984 kB / 412 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1564/0.1819, allocations: 418.5 kB / 412.4 MB, free: 33.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.1819, allocations: 1.25 kB / 412.4 MB, free: 33.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.1821, allocations: 58.83 kB / 412.5 MB, free: 33.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009964/0.1831, allocations: 381.4 kB / 412.8 MB, free: 33.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.1831, allocations: 11.48 kB / 412.9 MB, free: 33.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003247/0.1864, allocations: 5.487 MB / 418.3 MB, free: 29.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1864, allocations: 1.719 kB / 418.3 MB, free: 29.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.1876, allocations: 0.9302 MB / 419.3 MB, free: 28.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.1876, allocations: 45.19 kB / 419.3 MB, free: 28.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.1876, allocations: 11.34 kB / 419.3 MB, free: 28.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.1878, allocations: 27.97 kB / 419.4 MB, free: 28.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.1879, allocations: 38.75 kB / 419.4 MB, free: 28.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.1879, allocations: 19.11 kB / 419.4 MB, free: 28.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.188, allocations: 183 kB / 419.6 MB, free: 28.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.188, allocations: 0 / 419.6 MB, free: 28.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003731/0.1884, allocations: 162.1 kB / 419.7 MB, free: 28.66 MB / 330.7 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.001573/0.19, allocations: 1.818 MB / 421.6 MB, free: 27.51 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009969/0.1909, allocations: 0.9583 MB / 422.5 MB, free: 26.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1909, allocations: 3.578 kB / 422.5 MB, free: 26.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005807/0.1915, allocations: 0.6995 MB / 423.2 MB, free: 26.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.1918, allocations: 52.2 kB / 423.3 MB, free: 26.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/0.1966, allocations: 4.37 MB / 427.6 MB, free: 23.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.1968, allocations: 193.9 kB / 427.8 MB, free: 23.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.1969, allocations: 45.53 kB / 427.9 MB, free: 23.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.197, allocations: 121.4 kB / 428 MB, free: 23.79 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.197, allocations: 0 / 428 MB, free: 23.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.226, allocations: 13.87 MB / 441.9 MB, free: 16.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.092, allocations: 6.906 kB / 441.9 MB, free: 16.25 MB / 330.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.942548399791121] Failed to read output from testmodel.py, exit status != 0: 8.186797329224646 8.19337277 8.184262974 Calling exit ...