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.001013/0.001013, 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.000963/0.000963, 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.885/0.885, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5499/0.5499, 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.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: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.744e-05, allocations: 3.828 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01475/0.01477, allocations: 20.92 MB / 0.5746 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.03314, allocations: 16.65 MB / 0.5909 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/0.03594, allocations: 170.7 kB / 0.5911 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00571/0.04165, allocations: 4.183 MB / 0.5951 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.009362/0.05101, allocations: 3.701 MB / 0.5988 GB, free: 5 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.05392, allocations: 1.31 MB / 0.6 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007971/0.06189, allocations: 5.973 MB / 0.6059 GB, free: 13.7 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004374/0.06627, allocations: 2.845 MB / 0.6087 GB, free: 10.78 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00698/0.07325, allocations: 3.695 MB / 0.6123 GB, free: 7.074 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/0.07674, allocations: 1.92 MB / 0.6141 GB, free: 5.148 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.07778, allocations: 368 kB / 0.6145 GB, free: 4.789 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.07966, allocations: 0.9707 MB / 0.6154 GB, free: 3.816 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009573/0.08062, allocations: 1.261 MB / 0.6167 GB, free: 2.551 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002312/0.08293, allocations: 1.364 MB / 0.618 GB, free: 1.184 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005772/0.0887, allocations: 5.215 MB / 0.6231 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.08871, allocations: 0 / 0.6231 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.774e-06/0.08871, allocations: 0 / 0.6231 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.562e-05/0.0888, allocations: 0 / 0.6231 GB, free: 11.95 MB / 0.5886 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.0071/0.0959, allocations: 4.6 MB / 0.6276 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.09595, allocations: 16.62 kB / 0.6276 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003812/0.09633, allocations: 366.3 kB / 0.6279 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007552/0.1039, allocations: 3.279 MB / 0.6311 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004013/0.1079, allocations: 2.154 MB / 0.6333 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/0.1082, allocations: 474.3 kB / 0.6337 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005633/0.1088, allocations: 228.4 kB / 0.6339 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00755/0.1163, allocations: 5.374 MB / 0.6392 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.1163, allocations: 0 / 0.6392 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/0.1166, allocations: 104 kB / 0.6393 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/0.1167, allocations: 172.8 kB / 0.6394 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008026/0.1247, allocations: 5.191 MB / 0.6445 GB, free: 5.496 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01747/0.1422, allocations: 9.162 MB / 0.6535 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005159/0.1474, allocations: 3.259 MB / 0.6566 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002104/0.1495, allocations: 1.366 MB / 0.658 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.1496, allocations: 17.31 kB / 0.658 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002888/0.1525, allocations: 2.457 MB / 0.6604 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=163): time 3.526e-06/0.1525, allocations: 4 kB / 0.6604 GB, free: 4.859 MB / 0.6198 GB Notification: Performance of matching and sorting (n=250): time 0.328/0.4804, allocations: 27.53 MB / 0.6873 GB, free: 155.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.4805, allocations: 0.4916 MB / 0.6878 GB, free: 154.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.4826, allocations: 2.314 MB / 0.69 GB, free: 153.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000339/0.483, allocations: 76.48 kB / 0.6901 GB, free: 153.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006853/0.4837, allocations: 1.45 MB / 0.6915 GB, free: 152.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005154/0.4842, allocations: 0.8476 MB / 0.6923 GB, free: 152 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004917/0.4847, allocations: 420.2 kB / 0.6927 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.588e-05/0.4847, allocations: 310.7 kB / 0.693 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/0.4874, allocations: 2.062 MB / 0.695 GB, free: 150.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/0.4903, allocations: 2.78 MB / 0.6978 GB, free: 149.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005663/0.496, allocations: 4.165 MB / 0.7018 GB, free: 147.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.496, allocations: 2.875 kB / 0.7018 GB, free: 147.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01011/0.5061, allocations: 6.621 MB / 0.7083 GB, free: 145.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.792e-05/0.5062, allocations: 151.8 kB / 0.7084 GB, free: 145 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.5062, allocations: 9.219 kB / 0.7084 GB, free: 145 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006288/0.5125, allocations: 2.921 MB / 0.7113 GB, free: 144.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.5142, allocations: 484.6 kB / 0.7118 GB, free: 144.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02434/0.5385, allocations: 18.28 MB / 0.7296 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.5409, allocations: 330.1 kB / 0.7299 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.5411, allocations: 89.2 kB / 0.73 GB, free: 135.4 MB / 0.6355 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.001214/0.5424, allocations: 0.7057 MB / 0.7307 GB, free: 135 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004149/0.5428, allocations: 357.8 kB / 0.731 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/0.5431, allocations: 382.5 kB / 0.7314 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.5432, allocations: 23.95 kB / 0.7314 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-05/0.5432, allocations: 13.67 kB / 0.7314 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.5432, allocations: 11.91 kB / 0.7315 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/0.5465, allocations: 3.031 MB / 0.7344 GB, free: 133.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.5465, allocations: 0.5156 kB / 0.7344 GB, free: 133.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.5477, allocations: 415.6 kB / 0.7348 GB, free: 133.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005247/0.5529, allocations: 2.862 MB / 0.7376 GB, free: 132.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002286/0.5532, allocations: 56.06 kB / 0.7377 GB, free: 132.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/0.5728, allocations: 18.06 MB / 0.7553 GB, free: 121.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5728, allocations: 0 / 0.7553 GB, free: 121.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00921/0.582, allocations: 6.124 MB / 0.7613 GB, free: 115 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/0.5833, allocations: 0.6304 MB / 0.7619 GB, free: 114.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000296/0.5836, allocations: 44 kB / 0.7619 GB, free: 114.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.5851, allocations: 315.6 kB / 0.7622 GB, free: 114 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008253/0.5859, allocations: 362.5 kB / 0.7626 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.5861, allocations: 75.89 kB / 0.7627 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001429/0.5875, allocations: 1.536 MB / 0.7642 GB, free: 112.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5875, allocations: 0 / 0.7642 GB, free: 112.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002621/0.5901, allocations: 1.047 MB / 0.7652 GB, free: 111 MB / 0.6355 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.008944/0.599, allocations: 6.738 MB / 0.7718 GB, free: 104.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01162/0.6107, allocations: 6.451 MB / 0.7781 GB, free: 97.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.6107, allocations: 0 / 0.7781 GB, free: 97.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.007925/0.6186, allocations: 3.923 MB / 0.7819 GB, free: 93.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/0.6217, allocations: 1.136 MB / 0.783 GB, free: 92.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04294/0.6646, allocations: 32.57 MB / 0.8148 GB, free: 59.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.6659, allocations: 1.692 MB / 0.8165 GB, free: 57.79 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001973/0.6679, allocations: 0.4953 MB / 0.817 GB, free: 57.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009977/0.6689, allocations: 1.344 MB / 0.8183 GB, free: 55.95 MB / 0.6355 GB Notification: Performance of SimCode: time 1.703e-06/0.6689, allocations: 4 kB / 0.8183 GB, free: 55.95 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/0.7833, allocations: 106.8 MB / 0.9225 GB, free: 14.65 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.51, allocations: 8.047 kB / 0.9225 GB, free: 14.64 MB / 0.698 GB " [Timeout remaining time 647] (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: 15.193635136820376] Failed to read output from testmodel.py, exit status != 0: 12.652025235816836 12.666514770000001 12.574569276 Calling exit ...