Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.0008936/0.0008936, 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.001157/0.001157, allocations: 174.3 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.8625/0.8625, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.5531/0.5531, allocations: 114 MB / 373.9 MB, free: 8.684 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.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.5542 GB, free: 1.723 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.949e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.719 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.003465/0.003484, allocations: 3.019 MB / 0.5571 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.00513, allocations: 1.308 MB / 0.5584 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.005278, allocations: 7.938 kB / 0.5584 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007259/0.006004, allocations: 338.6 kB / 0.5587 GB, free: 13.03 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.006335, allocations: 151.1 kB / 0.5589 GB, free: 12.88 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.006646, allocations: 139.5 kB / 0.559 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.006987, allocations: 306.9 kB / 0.5593 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.007347, allocations: 188.5 kB / 0.5595 GB, free: 12.26 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.007536, allocations: 183.5 kB / 0.5596 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.007784, allocations: 119.7 kB / 0.5598 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.007811, allocations: 20 kB / 0.5598 GB, free: 11.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.008029, allocations: 155.5 kB / 0.5599 GB, free: 11.79 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.008112, allocations: 95.66 kB / 0.56 GB, free: 11.7 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.008178, allocations: 75.84 kB / 0.5601 GB, free: 11.62 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.008539, allocations: 339 kB / 0.5604 GB, free: 11.29 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.008543, allocations: 0 / 0.5604 GB, free: 11.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.008544, allocations: 0 / 0.5604 GB, free: 11.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.00855, allocations: 0 / 0.5604 GB, free: 11.29 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006565/0.009207, allocations: 453.5 kB / 0.5608 GB, free: 10.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.009247, allocations: 20.56 kB / 0.5609 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.009292, allocations: 50.73 kB / 0.5609 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/0.009633, allocations: 80.72 kB / 0.561 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.009883, allocations: 183.5 kB / 0.5612 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.0099, allocations: 20.73 kB / 0.5612 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.009921, allocations: 16.38 kB / 0.5612 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.01028, allocations: 377.3 kB / 0.5616 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.01029, allocations: 192 / 0.5616 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.01031, allocations: 12.12 kB / 0.5616 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.01034, allocations: 20.3 kB / 0.5616 GB, free: 9.984 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.01055, allocations: 193 kB / 0.5618 GB, free: 9.797 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009214/0.01147, allocations: 1.035 MB / 0.5628 GB, free: 8.691 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.01165, allocations: 102.5 kB / 0.5629 GB, free: 8.582 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.01169, allocations: 32.78 kB / 0.5629 GB, free: 8.547 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.0117, allocations: 0 / 0.5629 GB, free: 8.547 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.01172, allocations: 34.56 kB / 0.563 GB, free: 8.504 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.01172, allocations: 0 / 0.563 GB, free: 8.504 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003249/0.01205, allocations: 150.8 kB / 0.5631 GB, free: 8.348 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.01208, allocations: 59.34 kB / 0.5632 GB, free: 8.277 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.01222, allocations: 199.4 kB / 0.5633 GB, free: 8.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.01224, allocations: 33.7 kB / 0.5634 GB, free: 8.031 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.01231, allocations: 172 kB / 0.5635 GB, free: 7.859 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.01233, allocations: 23.8 kB / 0.5636 GB, free: 7.836 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.01237, allocations: 33.66 kB / 0.5636 GB, free: 7.797 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.01244, allocations: 330.8 kB / 0.5639 GB, free: 7.465 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.32e-05/0.01249, allocations: 31.98 kB / 0.5639 GB, free: 7.434 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.01256, allocations: 101.3 kB / 0.564 GB, free: 7.305 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.01268, allocations: 156.4 kB / 0.5642 GB, free: 7.121 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01268, allocations: 0 / 0.5642 GB, free: 7.121 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002052/0.01288, allocations: 186.4 kB / 0.5644 GB, free: 6.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.0129, allocations: 12.06 kB / 0.5644 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.0129, allocations: 0 / 0.5644 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.01303, allocations: 28.78 kB / 0.5644 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.329e-05/0.0131, allocations: 27.98 kB / 0.5644 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007266/0.01382, allocations: 1.315 MB / 0.5657 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.55e-05/0.0139, allocations: 23.92 kB / 0.5657 GB, free: 5.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.01391, allocations: 8 kB / 0.5657 GB, free: 5.402 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/0.01401, allocations: 145.8 kB / 0.5659 GB, free: 5.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.01403, allocations: 19.95 kB / 0.5659 GB, free: 5.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.01405, allocations: 29.44 kB / 0.5659 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.01405, allocations: 0 / 0.5659 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.01405, allocations: 0 / 0.5659 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01406, allocations: 4 kB / 0.5659 GB, free: 5.203 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.0144, allocations: 402.3 kB / 0.5663 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.0144, allocations: 4 kB / 0.5663 GB, free: 4.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/0.01442, allocations: 8 kB / 0.5663 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.777e-05/0.01448, allocations: 20.84 kB / 0.5663 GB, free: 4.723 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.01449, allocations: 4 kB / 0.5663 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005931/0.01508, allocations: 1.303 MB / 0.5676 GB, free: 3.297 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01508, allocations: 4.156 kB / 0.5676 GB, free: 3.293 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.01523, allocations: 212.2 kB / 0.5678 GB, free: 3.066 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.01527, allocations: 27.83 kB / 0.5679 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-06/0.01528, allocations: 0 / 0.5679 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.295e-05/0.01534, allocations: 4 kB / 0.5679 GB, free: 3.035 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.01536, allocations: 7.984 kB / 0.5679 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.01536, allocations: 4 kB / 0.5679 GB, free: 3.023 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.072e-05/0.01544, allocations: 140.4 kB / 0.568 GB, free: 2.887 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01544, allocations: 0 / 0.568 GB, free: 2.887 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000227/0.01567, allocations: 51.89 kB / 0.5681 GB, free: 2.836 MB / 490.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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003369/0.01601, allocations: 0.7483 MB / 0.5688 GB, free: 2.059 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.01628, allocations: 202.5 kB / 0.569 GB, free: 1.848 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01628, allocations: 0 / 0.569 GB, free: 1.848 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.924e-05/0.01636, allocations: 147.2 kB / 0.5691 GB, free: 1.691 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.01663, allocations: 34.39 kB / 0.5692 GB, free: 1.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.01821, allocations: 2.058 MB / 0.5712 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.911e-05/0.01831, allocations: 135.9 kB / 0.5713 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.79e-05/0.01838, allocations: 29.45 kB / 0.5713 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.01845, allocations: 52.48 kB / 0.5714 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.01845, allocations: 0 / 0.5714 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.03925, allocations: 4.505 MB / 0.5758 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7/7.039, allocations: 17.16 kB / 0.5758 GB, free: 10.93 MB / 0.4948 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.44851239118725] Failed to read output from testmodel.py, exit status != 0: 7.120966400951147 7.129441298 7.118950015 Calling exit ...