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.001978/0.001978, allocations: 119.6 kB / 17.84 MB, free: 5.234 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.002431/0.002431, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.552/1.552, allocations: 230.6 MB / 254.2 MB, free: 15.09 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 0.9788/0.9788, allocations: 150 MB / 460.2 MB, free: 5.27 MB / 350.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="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.003345/0.003345, allocations: 72.98 kB / 0.6368 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2112, allocations: 89.13 MB / 0.7239 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03503/0.2462, allocations: 22.95 MB / 0.7463 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03289/0.2791, allocations: 17.82 MB / 0.7637 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004241/0.2834, allocations: 150.8 kB / 0.7638 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01272/0.2961, allocations: 4.223 MB / 0.7679 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0152/0.3113, allocations: 3.569 MB / 0.7714 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004653/0.3159, allocations: 1.316 MB / 0.7727 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01165/0.3276, allocations: 5.789 MB / 0.7784 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007299/0.3349, allocations: 2.804 MB / 0.7811 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006345/0.3412, allocations: 2.523 MB / 0.7836 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00651/0.3478, allocations: 2.514 MB / 0.786 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002022/0.3498, allocations: 368 kB / 0.7864 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003838/0.3536, allocations: 1.053 MB / 0.7874 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002649/0.3563, allocations: 1.23 MB / 0.7886 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005719/0.362, allocations: 1.986 MB / 0.7906 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.3733, allocations: 5.211 MB / 0.7956 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.3733, allocations: 0 / 0.7956 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3733, allocations: 0 / 0.7956 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002444/0.3736, allocations: 0 / 0.7956 GB, free: 10.19 MB / 0.6075 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.01459/0.3882, allocations: 4.73 MB / 0.8003 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.3882, allocations: 8.031 kB / 0.8003 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.781e-05/0.3883, allocations: 64.92 kB / 0.8003 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00118/0.3895, allocations: 370.3 kB / 0.8007 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/0.4073, allocations: 3.279 MB / 0.8039 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006671/0.4139, allocations: 2.246 MB / 0.8061 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006746/0.4146, allocations: 469.8 kB / 0.8065 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001373/0.416, allocations: 232 kB / 0.8067 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.4305, allocations: 4.818 MB / 0.8115 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.4306, allocations: 4 kB / 0.8115 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001078/0.4317, allocations: 104 kB / 0.8116 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002694/0.432, allocations: 168.8 kB / 0.8117 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/0.4486, allocations: 5.202 MB / 0.8168 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02985/0.4785, allocations: 14.41 MB / 0.8309 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/0.4897, allocations: 3.266 MB / 0.8341 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004276/0.494, allocations: 1.369 MB / 0.8354 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/0.4942, allocations: 25.22 kB / 0.8354 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005197/0.4994, allocations: 1.796 MB / 0.8372 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=163): time 4.298e-06/0.4994, allocations: 0 / 0.8372 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=250): time 0.1393/0.6388, allocations: 28.22 MB / 0.8647 GB, free: 1.543 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003238/0.6391, allocations: 0.4928 MB / 0.8652 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.38/1.019, allocations: 2.293 MB / 0.8674 GB, free: 132.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006388/1.02, allocations: 76.08 kB / 0.8675 GB, free: 132.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001492/1.021, allocations: 1.458 MB / 0.8689 GB, free: 132.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/1.022, allocations: 0.8626 MB / 0.8698 GB, free: 131.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009763/1.023, allocations: 416.9 kB / 0.8702 GB, free: 131.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.896e-05/1.023, allocations: 302.5 kB / 0.8705 GB, free: 131.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005928/1.029, allocations: 1.931 MB / 0.8724 GB, free: 130.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006397/1.036, allocations: 2.231 MB / 0.8745 GB, free: 129.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0167/1.052, allocations: 4.16 MB / 0.8786 GB, free: 128.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.568e-05/1.052, allocations: 7.188 kB / 0.8786 GB, free: 128.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02184/1.074, allocations: 6.479 MB / 0.8849 GB, free: 126 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.074, allocations: 149.8 kB / 0.8851 GB, free: 125.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/1.074, allocations: 5.531 kB / 0.8851 GB, free: 125.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/1.085, allocations: 2.925 MB / 0.8879 GB, free: 125.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/1.088, allocations: 492 kB / 0.8884 GB, free: 125.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0382/1.126, allocations: 18.86 MB / 0.9068 GB, free: 111.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004802/1.131, allocations: 327.6 kB / 0.9071 GB, free: 111.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006249/1.131, allocations: 87.97 kB / 0.9072 GB, free: 111.1 MB / 0.67 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.002058/1.133, allocations: 0.7048 MB / 0.9079 GB, free: 110.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/1.134, allocations: 353.8 kB / 0.9082 GB, free: 110.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/1.135, allocations: 388.1 kB / 0.9086 GB, free: 109.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/1.136, allocations: 24 kB / 0.9086 GB, free: 109.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-05/1.136, allocations: 8 kB / 0.9086 GB, free: 109.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/1.136, allocations: 14.81 kB / 0.9087 GB, free: 109.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005429/1.141, allocations: 3.631 MB / 0.9122 GB, free: 106 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.114e-05/1.141, allocations: 0 / 0.9122 GB, free: 106 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003209/1.144, allocations: 411.4 kB / 0.9126 GB, free: 105.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01581/1.16, allocations: 2.868 MB / 0.9154 GB, free: 102.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006506/1.161, allocations: 52.59 kB / 0.9154 GB, free: 102.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04444/1.205, allocations: 18.64 MB / 0.9337 GB, free: 83.79 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.205, allocations: 0 / 0.9337 GB, free: 83.79 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01791/1.223, allocations: 6.112 MB / 0.9396 GB, free: 77.64 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001846/1.225, allocations: 0.7134 MB / 0.9403 GB, free: 76.91 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009106/1.226, allocations: 55.92 kB / 0.9404 GB, free: 76.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003837/1.23, allocations: 318.8 kB / 0.9407 GB, free: 76.55 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001371/1.231, allocations: 346.7 kB / 0.941 GB, free: 76.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003557/1.231, allocations: 67.97 kB / 0.9411 GB, free: 76.14 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002515/1.234, allocations: 1.532 MB / 0.9426 GB, free: 74.61 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.234, allocations: 0 / 0.9426 GB, free: 74.61 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003724/1.238, allocations: 1.045 MB / 0.9436 GB, free: 73.57 MB / 0.67 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.0183/1.256, allocations: 6.741 MB / 0.9502 GB, free: 66.79 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02298/1.279, allocations: 6.32 MB / 0.9563 GB, free: 60.38 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/1.279, allocations: 0 / 0.9563 GB, free: 60.38 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01688/1.296, allocations: 3.938 MB / 0.9602 GB, free: 56.42 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005402/1.301, allocations: 1.144 MB / 0.9613 GB, free: 55.36 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07319/1.374, allocations: 31.79 MB / 0.9924 GB, free: 23.11 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003135/1.378, allocations: 2.231 MB / 0.9945 GB, free: 20.85 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002773/1.38, allocations: 0.5019 MB / 0.995 GB, free: 20.34 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001901/1.382, allocations: 1.339 MB / 0.9963 GB, free: 19 MB / 0.67 GB Notification: Performance of SimCode: time 1.543e-06/1.382, allocations: 3.938 kB / 0.9963 GB, free: 19 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1901/1.572, allocations: 103.3 MB / 1.097 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.62/22.19, allocations: 15.3 kB / 1.097 GB, free: 12.68 MB / 0.7637 GB " [Timeout remaining time 638] (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: 26.38379256601911] Failed to read output from testmodel.py, exit status != 0: 22.411332779971417 22.425358041 22.04854904 Calling exit ...