Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.001619/0.001619, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001723/0.001723, allocations: 216.8 kB / 22.99 MB, free: 4.977 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9786/0.9786, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 70.58 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2135, allocations: 89.18 MB / 0.7281 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.007538/0.2211, allocations: 4.26 MB / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003816/0.2249, allocations: 1.819 MB / 0.7341 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003092/0.2252, allocations: 11.94 kB / 0.7341 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.2271, allocations: 0.5946 MB / 0.7347 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007915/0.2279, allocations: 270.5 kB / 0.7349 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008054/0.2287, allocations: 247.4 kB / 0.7352 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008304/0.2295, allocations: 0.619 MB / 0.7358 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006871/0.2302, allocations: 347.2 kB / 0.7361 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.2305, allocations: 255.1 kB / 0.7364 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.2311, allocations: 266.9 kB / 0.7366 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.014e-05/0.2312, allocations: 36 kB / 0.7366 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.2317, allocations: 231.5 kB / 0.7369 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.2319, allocations: 151.5 kB / 0.737 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.2321, allocations: 183.2 kB / 0.7372 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008143/0.2329, allocations: 0.6149 MB / 0.7378 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2329, allocations: 4 kB / 0.7378 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2329, allocations: 0 / 0.7378 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.2329, allocations: 0 / 0.7378 GB, free: 7.117 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001468/0.2344, allocations: 0.6609 MB / 0.7384 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.2345, allocations: 11.97 kB / 0.7384 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.2346, allocations: 82.7 kB / 0.7385 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009857/0.2356, allocations: 144.5 kB / 0.7387 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.2362, allocations: 280.8 kB / 0.7389 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.2362, allocations: 25.36 kB / 0.7389 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.777e-05/0.2363, allocations: 36.38 kB / 0.739 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000998/0.2373, allocations: 0.6822 MB / 0.7397 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.2373, allocations: 7.938 kB / 0.7397 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.2374, allocations: 12 kB / 0.7397 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/0.2374, allocations: 36.62 kB / 0.7397 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006468/0.2381, allocations: 382.3 kB / 0.7401 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.2407, allocations: 1.73 MB / 0.7418 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005754/0.2413, allocations: 246.5 kB / 0.742 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.2415, allocations: 104.8 kB / 0.7421 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.2415, allocations: 0 / 0.7421 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.2416, allocations: 34.56 kB / 0.7421 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.472e-06/0.2416, allocations: 0 / 0.7421 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002515/0.2441, allocations: 0.906 MB / 0.743 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.2441, allocations: 55.41 kB / 0.7431 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.2445, allocations: 308.4 kB / 0.7434 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.2446, allocations: 33.7 kB / 0.7434 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.2448, allocations: 244.1 kB / 0.7436 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/0.2449, allocations: 79.28 kB / 0.7437 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.245, allocations: 61.98 kB / 0.7438 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.2452, allocations: 346.7 kB / 0.7441 GB, free: 340 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.2454, allocations: 100.6 kB / 0.7442 GB, free: 240 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.2456, allocations: 187.8 kB / 0.7444 GB, free: 12 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.2461, allocations: 324.5 kB / 0.7447 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2461, allocations: 4 kB / 0.7447 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008085/0.2469, allocations: 437.9 kB / 0.7451 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2469, allocations: 4 kB / 0.7451 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.247, allocations: 4 kB / 0.7451 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/0.2473, allocations: 94.81 kB / 0.7452 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.2476, allocations: 63.91 kB / 0.7453 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004027/0.2516, allocations: 4.077 MB / 0.7492 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.2519, allocations: 8 kB / 0.7492 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.2519, allocations: 8.141 kB / 0.7492 GB, free: 10.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002669/0.2522, allocations: 182 kB / 0.7494 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.672e-05/0.2523, allocations: 39.73 kB / 0.7495 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.91e-05/0.2524, allocations: 42.41 kB / 0.7495 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2524, allocations: 0 / 0.7495 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.2524, allocations: 4 kB / 0.7495 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2524, allocations: 3.984 kB / 0.7495 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.2529, allocations: 336.6 kB / 0.7498 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.2529, allocations: 7.766 kB / 0.7498 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.2531, allocations: 35.92 kB / 0.7499 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/0.2534, allocations: 90.5 kB / 0.75 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.2534, allocations: 4 kB / 0.75 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003796/0.2572, allocations: 4.07 MB / 0.7539 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2572, allocations: 3.938 kB / 0.7539 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009818/0.2582, allocations: 0.5554 MB / 0.7545 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.2584, allocations: 47.78 kB / 0.7545 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.2584, allocations: 4 kB / 0.7545 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.2586, allocations: 15.98 kB / 0.7545 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.2587, allocations: 12.06 kB / 0.7546 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.2587, allocations: 8 kB / 0.7546 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002589/0.259, allocations: 215 kB / 0.7548 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.259, allocations: 0 / 0.7548 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00053/0.2595, allocations: 104.1 kB / 0.7549 GB, free: 4.418 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/0.2608, allocations: 1.092 MB / 0.7559 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.2619, allocations: 0.5937 MB / 0.7565 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.2619, allocations: 4 kB / 0.7565 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006443/0.2625, allocations: 464.2 kB / 0.757 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005655/0.2631, allocations: 87.95 kB / 0.757 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3751/0.6382, allocations: 3.375 MB / 0.7603 GB, free: 32.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.6384, allocations: 225.2 kB / 0.7606 GB, free: 32.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002395/0.6387, allocations: 57.53 kB / 0.7606 GB, free: 32.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.6388, allocations: 111.4 kB / 0.7607 GB, free: 32.69 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/0.6388, allocations: 0.6875 kB / 0.7607 GB, free: 32.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05957/0.6984, allocations: 8.736 MB / 0.7693 GB, free: 31.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.42, allocations: 12.09 kB / 0.7693 GB, free: 31.48 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.327285856939852] Failed to read output from testmodel.py, exit status != 0: 12.53708380786702 12.555086499 12.318970906 Calling exit ...