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.000837/0.000837, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008707/0.0008707, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9136/0.9136, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5784/0.5784, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.5542 GB, free: 1.75 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.163e-05, allocations: 13.83 kB / 0.5542 GB, free: 1.738 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.003928/0.003949, allocations: 4.188 MB / 0.5583 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.006094, allocations: 1.834 MB / 0.5601 GB, free: 11.69 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.006287, allocations: 11.94 kB / 0.5601 GB, free: 11.68 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.007306, allocations: 0.5939 MB / 0.5606 GB, free: 11.08 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.007757, allocations: 278.2 kB / 0.5609 GB, free: 10.81 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.008182, allocations: 251.2 kB / 0.5611 GB, free: 10.56 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000543/0.008725, allocations: 0.6305 MB / 0.5618 GB, free: 9.93 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005286/0.009254, allocations: 347.1 kB / 0.5621 GB, free: 9.594 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.00957, allocations: 347.2 kB / 0.5624 GB, free: 9.254 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.009998, allocations: 247.3 kB / 0.5627 GB, free: 9.012 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.01005, allocations: 43.94 kB / 0.5627 GB, free: 8.969 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.01032, allocations: 231.4 kB / 0.5629 GB, free: 8.742 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.01043, allocations: 167.5 kB / 0.5631 GB, free: 8.578 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.01056, allocations: 159.7 kB / 0.5632 GB, free: 8.422 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000531/0.01109, allocations: 0.6191 MB / 0.5638 GB, free: 7.801 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.01109, allocations: 0 / 0.5638 GB, free: 7.801 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01109, allocations: 0 / 0.5638 GB, free: 7.801 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.0111, allocations: 0 / 0.5638 GB, free: 7.801 MB / 490.7 MB 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.0008701/0.01197, allocations: 0.6694 MB / 0.5645 GB, free: 7.098 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.01201, allocations: 8.625 kB / 0.5645 GB, free: 7.09 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.797e-05/0.01208, allocations: 74.72 kB / 0.5646 GB, free: 7.008 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000518/0.0126, allocations: 144.5 kB / 0.5647 GB, free: 6.867 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.01294, allocations: 280.6 kB / 0.565 GB, free: 6.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.01296, allocations: 25.36 kB / 0.565 GB, free: 6.547 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.01301, allocations: 36.38 kB / 0.565 GB, free: 6.512 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.01361, allocations: 0.6864 MB / 0.5657 GB, free: 5.758 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.01362, allocations: 192 / 0.5657 GB, free: 5.758 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.01365, allocations: 16.12 kB / 0.5657 GB, free: 5.742 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.0137, allocations: 40.58 kB / 0.5658 GB, free: 5.699 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.01411, allocations: 382.3 kB / 0.5661 GB, free: 5.328 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.0156, allocations: 1.726 MB / 0.5678 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.01599, allocations: 257.5 kB / 0.5681 GB, free: 3.266 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.0161, allocations: 102.7 kB / 0.5682 GB, free: 3.164 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.01611, allocations: 3.984 kB / 0.5682 GB, free: 3.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.01613, allocations: 34.56 kB / 0.5682 GB, free: 3.117 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 1.714e-06/0.01613, allocations: 0 / 0.5682 GB, free: 3.117 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001405/0.01754, allocations: 0.9015 MB / 0.5691 GB, free: 2.176 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.01757, allocations: 63.2 kB / 0.5691 GB, free: 2.102 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.0178, allocations: 308.4 kB / 0.5694 GB, free: 1.793 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.01782, allocations: 29.7 kB / 0.5695 GB, free: 1.758 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.01794, allocations: 236.1 kB / 0.5697 GB, free: 1.523 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.01798, allocations: 87.27 kB / 0.5698 GB, free: 1.438 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.01805, allocations: 57.98 kB / 0.5698 GB, free: 1.371 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.01814, allocations: 342.8 kB / 0.5701 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.01825, allocations: 104.6 kB / 0.5702 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.0184, allocations: 187.8 kB / 0.5704 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.01871, allocations: 316.2 kB / 0.5707 GB, free: 368 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01871, allocations: 4 kB / 0.5707 GB, free: 364 kB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005505/0.01926, allocations: 444.1 kB / 0.5712 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.01928, allocations: 8 kB / 0.5712 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.01929, allocations: 7.938 kB / 0.5712 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/0.01954, allocations: 90.5 kB / 0.5713 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.0197, allocations: 67.89 kB / 0.5713 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.02201, allocations: 4.066 MB / 0.5753 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.02212, allocations: 8 kB / 0.5753 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.02214, allocations: 12 kB / 0.5753 GB, free: 11.3 MB / 0.4948 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.0001309/0.02227, allocations: 177.8 kB / 0.5755 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.0223, allocations: 35.8 kB / 0.5755 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.02234, allocations: 46.34 kB / 0.5756 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.02234, allocations: 0 / 0.5756 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.02235, allocations: 4 kB / 0.5756 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.02235, allocations: 8.047 kB / 0.5756 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.02262, allocations: 332.6 kB / 0.5759 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.02262, allocations: 0 / 0.5759 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-05/0.02271, allocations: 35.92 kB / 0.5759 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000167/0.02288, allocations: 98.42 kB / 0.576 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.02289, allocations: 11.94 kB / 0.576 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.0249, allocations: 4.059 MB / 0.58 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.0249, allocations: 4 kB / 0.58 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.02539, allocations: 0.5555 MB / 0.5805 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.02546, allocations: 47.8 kB / 0.5806 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.02548, allocations: 4 kB / 0.5806 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.02559, allocations: 20.14 kB / 0.5806 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.02562, allocations: 20.05 kB / 0.5806 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.02563, allocations: 4 kB / 0.5806 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001408/0.02577, allocations: 211.1 kB / 0.5808 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02577, allocations: 0 / 0.5808 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002934/0.02606, allocations: 100 kB / 0.5809 GB, free: 5.125 MB / 0.4948 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.0006884/0.02675, allocations: 1.093 MB / 0.582 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005188/0.02727, allocations: 0.5901 MB / 0.5826 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02727, allocations: 4 kB / 0.5826 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.02752, allocations: 464 kB / 0.583 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.02786, allocations: 71.61 kB / 0.5831 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.03082, allocations: 3.362 MB / 0.5864 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.03096, allocations: 220.7 kB / 0.5866 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001215/0.03108, allocations: 70.86 kB / 0.5866 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.03119, allocations: 112.5 kB / 0.5868 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/0.03119, allocations: 0 / 0.5868 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.05637, allocations: 8.886 MB / 0.5954 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/7.366, allocations: 0.5 kB / 0.5954 GB, free: 6.227 MB / 0.5105 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 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: 9.952949283644557] Failed to read output from testmodel.py, exit status != 0: 7.453550941310823 7.462393048 7.449449074 Calling exit ...