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.001294/0.001294, allocations: 105 kB / 20.48 MB, free: 1.488 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.001492/0.001492, allocations: 219 kB / 23.79 MB, free: 4.703 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.453/1.453, allocations: 230.6 MB / 257.6 MB, free: 8 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.05/1.05, allocations: 150 MB / 464 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="cs",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.002037/0.002037, allocations: 61.09 kB / 0.6421 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1973, allocations: 89.17 MB / 0.7291 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03135/0.2287, allocations: 23.49 MB / 0.7521 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4296/0.6583, allocations: 18.18 MB / 0.7698 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004175/0.6625, allocations: 146.2 kB / 0.77 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.6734, allocations: 4.359 MB / 0.7742 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01157/0.685, allocations: 3.591 MB / 0.7777 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005055/0.69, allocations: 1.329 MB / 0.779 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0133/0.7033, allocations: 5.81 MB / 0.7847 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008727/0.7121, allocations: 2.877 MB / 0.7875 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007228/0.7193, allocations: 2.523 MB / 0.79 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006327/0.7256, allocations: 2.514 MB / 0.7924 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002155/0.7278, allocations: 373.9 kB / 0.7928 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004571/0.7323, allocations: 1.054 MB / 0.7938 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003058/0.7354, allocations: 1.226 MB / 0.795 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005889/0.7413, allocations: 1.997 MB / 0.797 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.7517, allocations: 5.209 MB / 0.802 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7518, allocations: 1.094 kB / 0.8021 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7518, allocations: 0 / 0.8021 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002256/0.752, allocations: 0 / 0.8021 GB, free: 14.92 MB / 0.5919 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.01625/0.7682, allocations: 4.653 MB / 0.8066 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.7683, allocations: 10.44 kB / 0.8066 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001192/0.7684, allocations: 63.92 kB / 0.8067 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001438/0.7698, allocations: 371.8 kB / 0.807 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/0.7876, allocations: 3.283 MB / 0.8102 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007984/0.7956, allocations: 2.133 MB / 0.8123 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007331/0.7964, allocations: 469.9 kB / 0.8128 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001615/0.798, allocations: 238.7 kB / 0.813 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/0.8154, allocations: 4.812 MB / 0.8177 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.8156, allocations: 2.125 kB / 0.8177 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/0.8167, allocations: 108.4 kB / 0.8178 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000264/0.817, allocations: 168.4 kB / 0.8179 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/0.8333, allocations: 5.2 MB / 0.823 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02841/0.8617, allocations: 14.35 MB / 0.837 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.8727, allocations: 3.255 MB / 0.8402 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004638/0.8773, allocations: 1.377 MB / 0.8416 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.8776, allocations: 22.95 kB / 0.8416 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005509/0.8831, allocations: 1.794 MB / 0.8433 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=163): time 4.829e-06/0.8831, allocations: 0 / 0.8433 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=250): time 0.144/1.027, allocations: 27.55 MB / 0.8702 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004274/1.028, allocations: 0.4928 MB / 0.8707 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004935/1.032, allocations: 2.296 MB / 0.873 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006038/1.033, allocations: 73.7 kB / 0.873 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001547/1.035, allocations: 1.463 MB / 0.8745 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/1.036, allocations: 0.8616 MB / 0.8753 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/1.037, allocations: 416.5 kB / 0.8757 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.037, allocations: 301.1 kB / 0.876 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00608/1.043, allocations: 1.934 MB / 0.8779 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006651/1.05, allocations: 2.228 MB / 0.8801 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/1.062, allocations: 4.163 MB / 0.8841 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/1.062, allocations: 4 kB / 0.8841 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02132/1.083, allocations: 6.47 MB / 0.8904 GB, free: 12.88 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/1.083, allocations: 148.8 kB / 0.8906 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/1.083, allocations: 12 kB / 0.8906 GB, free: 12.69 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/1.094, allocations: 2.92 MB / 0.8934 GB, free: 9.766 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003067/1.098, allocations: 487.2 kB / 0.8939 GB, free: 9.289 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04544/1.143, allocations: 18.64 MB / 0.9121 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004634/1.148, allocations: 323.6 kB / 0.9124 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005939/1.148, allocations: 91.97 kB / 0.9125 GB, free: 6.059 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.002054/1.15, allocations: 0.7141 MB / 0.9132 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000932/1.151, allocations: 349.8 kB / 0.9135 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/1.152, allocations: 384.3 kB / 0.9139 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.744e-05/1.152, allocations: 27.98 kB / 0.9139 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.691e-05/1.152, allocations: 11.94 kB / 0.9139 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.674e-05/1.152, allocations: 11.95 kB / 0.914 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006986/1.159, allocations: 3.595 MB / 0.9175 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.232e-05/1.159, allocations: 0 / 0.9175 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002697/1.162, allocations: 419.3 kB / 0.9179 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0105/1.172, allocations: 2.871 MB / 0.9207 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006066/1.173, allocations: 55.95 kB / 0.9207 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04431/1.217, allocations: 18.42 MB / 0.9387 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-06/1.217, allocations: 0 / 0.9387 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02045/1.238, allocations: 6.111 MB / 0.9447 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002536/1.24, allocations: 0.642 MB / 0.9453 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/1.242, allocations: 47.94 kB / 0.9454 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004142/1.246, allocations: 319.5 kB / 0.9457 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001376/1.247, allocations: 366.4 kB / 0.946 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003433/1.248, allocations: 71.97 kB / 0.9461 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003173/1.251, allocations: 1.532 MB / 0.9476 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/1.251, allocations: 0 / 0.9476 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00455/1.255, allocations: 1.047 MB / 0.9486 GB, free: 0.8359 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.0211/1.276, allocations: 6.743 MB / 0.9552 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02718/1.304, allocations: 6.32 MB / 0.9614 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/1.304, allocations: 4 kB / 0.9614 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01952/1.323, allocations: 3.933 MB / 0.9652 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007061/1.33, allocations: 1.14 MB / 0.9663 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08867/1.419, allocations: 31.83 MB / 0.9974 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/1.421, allocations: 2.231 MB / 0.9996 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002412/1.424, allocations: 0.498 MB / 1 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002185/1.426, allocations: 1.339 MB / 1.001 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of SimCode: time 1.242e-06/1.426, allocations: 0 / 1.001 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5702/1.996, allocations: 105.9 MB / 1.105 GB, free: 300.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.28/23.27, allocations: 3.969 kB / 1.105 GB, free: 300.6 MB / 0.8575 GB " [Timeout remaining time 636] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.388833631994203] Failed to read output from testmodel.py, exit status != 0: 23.51729368296219 23.542169424 22.785688514 Calling exit ...