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.00119/0.00119, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.001403/0.001403, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.8695/0.8695, 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.5448/0.5448, allocations: 114 MB / 373.9 MB, free: 8.719 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.793e-06/1.793e-06, allocations: 0 / 0.5542 GB, free: 1.715 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.719e-05, allocations: 7.156 kB / 0.5542 GB, free: 1.711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.004094/0.004121, allocations: 4.196 MB / 0.5583 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.006222, allocations: 1.827 MB / 0.5601 GB, free: 11.66 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.006391, allocations: 11.94 kB / 0.5601 GB, free: 11.65 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008452/0.007236, allocations: 0.5952 MB / 0.5606 GB, free: 11.05 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.007678, allocations: 270.2 kB / 0.5609 GB, free: 10.79 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.008144, allocations: 263.2 kB / 0.5612 GB, free: 10.53 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005139/0.008658, allocations: 0.6227 MB / 0.5618 GB, free: 9.902 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004265/0.009084, allocations: 351 kB / 0.5621 GB, free: 9.562 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.009384, allocations: 355.2 kB / 0.5624 GB, free: 9.215 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.009708, allocations: 239.3 kB / 0.5627 GB, free: 8.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.009748, allocations: 40 kB / 0.5627 GB, free: 8.941 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.01003, allocations: 231.4 kB / 0.5629 GB, free: 8.715 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.01014, allocations: 171.5 kB / 0.5631 GB, free: 8.547 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.01025, allocations: 155.7 kB / 0.5632 GB, free: 8.395 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005019/0.01075, allocations: 0.6269 MB / 0.5638 GB, free: 7.766 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.01075, allocations: 0 / 0.5638 GB, free: 7.766 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01075, allocations: 0 / 0.5638 GB, free: 7.766 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.01076, allocations: 0 / 0.5638 GB, free: 7.766 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.0007713/0.01153, allocations: 0.6609 MB / 0.5645 GB, free: 7.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.01156, allocations: 8.625 kB / 0.5645 GB, free: 7.062 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.709e-05/0.01162, allocations: 78.72 kB / 0.5646 GB, free: 6.977 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004766/0.01209, allocations: 148.5 kB / 0.5647 GB, free: 6.832 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.01238, allocations: 276.6 kB / 0.565 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.0124, allocations: 33.36 kB / 0.565 GB, free: 6.508 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.01244, allocations: 28.38 kB / 0.565 GB, free: 6.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.01297, allocations: 0.6826 MB / 0.5657 GB, free: 5.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.01299, allocations: 192 / 0.5657 GB, free: 5.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.01301, allocations: 24.06 kB / 0.5657 GB, free: 5.707 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.01305, allocations: 36.58 kB / 0.5658 GB, free: 5.668 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.01342, allocations: 386.3 kB / 0.5661 GB, free: 5.293 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.01481, allocations: 1.722 MB / 0.5678 GB, free: 3.492 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.01515, allocations: 250.8 kB / 0.5681 GB, free: 3.238 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.857e-05/0.01525, allocations: 102.3 kB / 0.5681 GB, free: 3.137 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.01526, allocations: 0 / 0.5681 GB, free: 3.137 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.01528, allocations: 38.56 kB / 0.5682 GB, free: 3.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 1.122e-06/0.01528, allocations: 0 / 0.5682 GB, free: 3.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001258/0.01654, allocations: 0.9019 MB / 0.5691 GB, free: 2.148 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.01657, allocations: 63.2 kB / 0.5691 GB, free: 2.074 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.01678, allocations: 304.4 kB / 0.5694 GB, free: 1.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.0168, allocations: 33.7 kB / 0.5694 GB, free: 1.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.0169, allocations: 236.1 kB / 0.5697 GB, free: 1.496 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.01694, allocations: 83.28 kB / 0.5698 GB, free: 1.414 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.01701, allocations: 61.98 kB / 0.5698 GB, free: 1.344 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.0171, allocations: 342.7 kB / 0.5701 GB, free: 1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.01721, allocations: 104.6 kB / 0.5702 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.01735, allocations: 183.8 kB / 0.5704 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.01761, allocations: 320.2 kB / 0.5707 GB, free: 340 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01762, allocations: 3.938 kB / 0.5707 GB, free: 336 kB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000455/0.01807, allocations: 447.7 kB / 0.5712 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.01809, allocations: 8 kB / 0.5712 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01809, allocations: 0 / 0.5712 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001949/0.01829, allocations: 94.84 kB / 0.5712 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.01843, allocations: 67.91 kB / 0.5713 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.02036, allocations: 4.07 MB / 0.5753 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.02047, allocations: 8 kB / 0.5753 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.02048, allocations: 12.28 kB / 0.5753 GB, free: 11.27 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.0001282/0.02061, allocations: 177.8 kB / 0.5755 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.02065, allocations: 35.81 kB / 0.5755 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.02068, allocations: 42.34 kB / 0.5756 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.02068, allocations: 0 / 0.5756 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.02069, allocations: 7.938 kB / 0.5756 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.02069, allocations: 3.984 kB / 0.5756 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.02096, allocations: 340.6 kB / 0.5759 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.02097, allocations: 4 kB / 0.5759 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.204e-05/0.02106, allocations: 35.92 kB / 0.5759 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001542/0.02121, allocations: 86.5 kB / 0.576 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.02122, allocations: 7.938 kB / 0.576 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.02298, allocations: 4.066 MB / 0.58 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.02298, allocations: 8 kB / 0.58 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.02346, allocations: 0.5445 MB / 0.5805 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.02353, allocations: 55.8 kB / 0.5806 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.02355, allocations: 4 kB / 0.5806 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.332e-05/0.02364, allocations: 11.98 kB / 0.5806 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.02368, allocations: 15.97 kB / 0.5806 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.02369, allocations: 8.062 kB / 0.5806 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001364/0.02383, allocations: 215.1 kB / 0.5808 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.02383, allocations: 0 / 0.5808 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000284/0.02411, allocations: 96 kB / 0.5809 GB, free: 5.098 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.0006743/0.02479, allocations: 1.1 MB / 0.582 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005412/0.02533, allocations: 0.5894 MB / 0.5826 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02533, allocations: 0 / 0.5826 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.02558, allocations: 460.6 kB / 0.583 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.02589, allocations: 75.64 kB / 0.5831 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.02876, allocations: 3.371 MB / 0.5864 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.02892, allocations: 232.7 kB / 0.5866 GB, free: 15 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.02905, allocations: 58.92 kB / 0.5866 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.02915, allocations: 108.5 kB / 0.5867 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of SimCode: time 4.11e-07/0.02915, allocations: 0 / 0.5867 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.05319, allocations: 8.879 MB / 0.5954 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.208/7.261, allocations: 8.562 kB / 0.5954 GB, free: 6.191 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 & /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: 9.723915722221136] Failed to read output from testmodel.py, exit status != 0: 7.349765334278345 7.363356523 7.35089201 Calling exit ...