Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.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.00181/0.00181, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001505/0.001505, allocations: 223.2 kB / 23 MB, free: 4.973 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 1.039/1.039, allocations: 149.9 MB / 463 MB, free: 10.39 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.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",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.002254/0.002254, allocations: 62.59 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.194, allocations: 89.18 MB / 0.7282 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02999/0.224, allocations: 21.25 MB / 0.7489 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.42/0.644, allocations: 16.83 MB / 0.7654 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003191/0.6472, allocations: 169 kB / 0.7655 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01128/0.6585, allocations: 4.162 MB / 0.7696 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01078/0.6692, allocations: 3.599 MB / 0.7731 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.6727, allocations: 1.31 MB / 0.7744 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009639/0.6823, allocations: 5.797 MB / 0.7801 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00566/0.688, allocations: 2.828 MB / 0.7828 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006917/0.6949, allocations: 2.838 MB / 0.7856 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005092/0.7, allocations: 2.149 MB / 0.7877 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001624/0.7016, allocations: 369.8 kB / 0.788 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003538/0.7051, allocations: 0.9485 MB / 0.789 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002013/0.7072, allocations: 1.214 MB / 0.7902 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003328/0.7105, allocations: 1.63 MB / 0.7917 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006977/0.7175, allocations: 5.212 MB / 0.7968 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.7175, allocations: 0 / 0.7968 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.574e-06/0.7175, allocations: 1.375 kB / 0.7968 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001902/0.7177, allocations: 3.938 kB / 0.7968 GB, free: 0.9062 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01349/0.7312, allocations: 4.633 MB / 0.8014 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.7312, allocations: 9.312 kB / 0.8014 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000759/0.732, allocations: 362.7 kB / 0.8017 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01643/0.7484, allocations: 3.286 MB / 0.8049 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00653/0.7549, allocations: 2.161 MB / 0.807 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005952/0.7555, allocations: 464.6 kB / 0.8075 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/0.7566, allocations: 235 kB / 0.8077 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01358/0.7702, allocations: 5.368 MB / 0.813 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.906e-05/0.7702, allocations: 4.906 kB / 0.813 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003396/0.7706, allocations: 100.1 kB / 0.8131 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/0.7707, allocations: 177.3 kB / 0.8132 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/0.7849, allocations: 5.19 MB / 0.8183 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02402/0.8089, allocations: 9.176 MB / 0.8272 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.8196, allocations: 3.244 MB / 0.8304 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004151/0.8237, allocations: 1.373 MB / 0.8318 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.8239, allocations: 17.31 kB / 0.8318 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004988/0.8288, allocations: 2.454 MB / 0.8342 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=163): time 4.629e-06/0.8288, allocations: 0 / 0.8342 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=250): time 0.1346/0.9634, allocations: 27.54 MB / 0.8611 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003583/0.9638, allocations: 0.4889 MB / 0.8615 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00392/0.9677, allocations: 2.32 MB / 0.8638 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005685/0.9683, allocations: 77.7 kB / 0.8639 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.9698, allocations: 1.456 MB / 0.8653 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/0.9711, allocations: 0.8616 MB / 0.8661 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009523/0.9721, allocations: 416.5 kB / 0.8665 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.9722, allocations: 305.1 kB / 0.8668 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00557/0.9778, allocations: 2.062 MB / 0.8688 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006403/0.9842, allocations: 2.779 MB / 0.8716 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/0.9956, allocations: 4.163 MB / 0.8756 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.9956, allocations: 8 kB / 0.8756 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02007/1.016, allocations: 6.615 MB / 0.8821 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001795/1.016, allocations: 152.5 kB / 0.8822 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/1.016, allocations: 4.344 kB / 0.8822 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/1.027, allocations: 2.924 MB / 0.8851 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003031/1.03, allocations: 487.2 kB / 0.8856 GB, free: 432 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04519/1.075, allocations: 18.29 MB / 0.9034 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005065/1.08, allocations: 327.6 kB / 0.9037 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006595/1.081, allocations: 91.97 kB / 0.9038 GB, free: 13.55 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.002264/1.083, allocations: 0.7024 MB / 0.9045 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/1.084, allocations: 345.8 kB / 0.9048 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/1.085, allocations: 392.1 kB / 0.9052 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/1.085, allocations: 24 kB / 0.9052 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.424e-05/1.085, allocations: 12 kB / 0.9053 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/1.085, allocations: 11.95 kB / 0.9053 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005744/1.091, allocations: 3.043 MB / 0.9082 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/1.091, allocations: 0 / 0.9082 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002652/1.093, allocations: 415.3 kB / 0.9086 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01046/1.104, allocations: 2.862 MB / 0.9114 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004816/1.104, allocations: 51.97 kB / 0.9115 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04326/1.148, allocations: 18.06 MB / 0.9291 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.148, allocations: 0.5625 kB / 0.9291 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01982/1.167, allocations: 6.118 MB / 0.9351 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002612/1.17, allocations: 0.6381 MB / 0.9357 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006644/1.171, allocations: 44 kB / 0.9358 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003367/1.174, allocations: 315.6 kB / 0.9361 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001217/1.175, allocations: 366.4 kB / 0.9364 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002294/1.176, allocations: 75.91 kB / 0.9365 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002505/1.178, allocations: 1.536 MB / 0.938 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.178, allocations: 0 / 0.938 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003033/1.181, allocations: 1.043 MB / 0.939 GB, free: 9.254 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01929/1.2, allocations: 6.746 MB / 0.9456 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02481/1.225, allocations: 6.457 MB / 0.9519 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.225, allocations: 4 kB / 0.9519 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01787/1.243, allocations: 3.92 MB / 0.9557 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005108/1.248, allocations: 1.144 MB / 0.9568 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08039/1.329, allocations: 32.38 MB / 0.9885 GB, free: 5.871 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/1.331, allocations: 1.684 MB / 0.9901 GB, free: 4.148 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002418/1.333, allocations: 0.498 MB / 0.9906 GB, free: 3.645 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001942/1.335, allocations: 1.339 MB / 0.9919 GB, free: 2.305 MB / 0.7637 GB Notification: Performance of SimCode: time 9.92e-07/1.335, allocations: 4 kB / 0.9919 GB, free: 2.301 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5861/1.921, allocations: 107.1 MB / 1.097 GB, free: 298.8 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.4/20.33, allocations: 2.812 kB / 1.097 GB, free: 298.8 MB / 0.8575 GB " [Timeout remaining time 639] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.544666214846075] Failed to read output from testmodel.py, exit status != 0: 20.514688502065837 20.529937512 19.809307118 Calling exit ...