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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007525/0.0007525, allocations: 99.05 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008607/0.0008607, allocations: 179.2 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6783/0.6783, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002894, allocations: 8 kB / 495.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1306, allocations: 77.54 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0219/0.1525, allocations: 21.67 MB / 0.5812 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2614/0.414, allocations: 17.38 MB / 0.5982 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002687/0.4167, allocations: 98.97 kB / 0.5983 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.4187, allocations: 0.5818 MB / 0.5988 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009798/0.4285, allocations: 3.207 MB / 0.602 GB, free: 9.602 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003444/0.432, allocations: 1.176 MB / 0.6031 GB, free: 8.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009261/0.4412, allocations: 7.061 MB / 0.61 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003277/0.4445, allocations: 2.56 MB / 0.6125 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003595/0.4481, allocations: 2.043 MB / 0.6145 GB, free: 4.504 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002996/0.4512, allocations: 2.289 MB / 0.6167 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000368/0.4515, allocations: 176.2 kB / 0.6169 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.4534, allocations: 1.058 MB / 0.618 GB, free: 2.926 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006908/0.4541, allocations: 0.9727 MB / 0.6189 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.4556, allocations: 1.784 MB / 0.6206 GB, free: 1.121 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003888/0.4595, allocations: 4.955 MB / 0.6255 GB, free: 13.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4595, allocations: 0 / 0.6255 GB, free: 13.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4596, allocations: 1.344 kB / 0.6255 GB, free: 13.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.325e-05/0.4596, allocations: 0 / 0.6255 GB, free: 13.82 MB / 462.1 MB 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.007351/0.467, allocations: 4.065 MB / 0.6295 GB, free: 11.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.467, allocations: 13.59 kB / 0.6295 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004327/0.4674, allocations: 362.9 kB / 0.6298 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/0.4823, allocations: 3.37 MB / 0.6331 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.4853, allocations: 2.082 MB / 0.6351 GB, free: 7.133 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003063/0.4856, allocations: 471.6 kB / 0.6356 GB, free: 6.613 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004073/0.486, allocations: 242.3 kB / 0.6358 GB, free: 6.383 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00932/0.4954, allocations: 4.874 MB / 0.6406 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/0.4954, allocations: 0 / 0.6406 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/0.4957, allocations: 105.1 kB / 0.6407 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/0.4959, allocations: 172.8 kB / 0.6408 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/0.5082, allocations: 5.316 MB / 0.646 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01695/0.5251, allocations: 14.6 MB / 0.6603 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00942/0.5346, allocations: 3.684 MB / 0.6639 GB, free: 8.398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003553/0.5381, allocations: 1.6 MB / 0.6654 GB, free: 6.801 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.62e-05/0.5382, allocations: 25.16 kB / 0.6655 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003952/0.5422, allocations: 1.918 MB / 0.6673 GB, free: 4.797 MB / 494.1 MB Notification: Performance of pre-optimization done (n=163): time 2.765e-06/0.5422, allocations: 4 kB / 0.6673 GB, free: 4.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=250): time 0.1274/0.6696, allocations: 34.12 MB / 0.7007 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/0.6698, allocations: 0.5006 MB / 0.7012 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/0.6723, allocations: 2.289 MB / 0.7034 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002099/0.6725, allocations: 73.7 kB / 0.7035 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009872/0.6735, allocations: 1.44 MB / 0.7049 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000617/0.6742, allocations: 0.8209 MB / 0.7057 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.6745, allocations: 186.4 kB / 0.7058 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.6746, allocations: 301.1 kB / 0.7061 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005062/0.6796, allocations: 2.12 MB / 0.7082 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005229/0.6849, allocations: 2.415 MB / 0.7106 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/0.6949, allocations: 4.536 MB / 0.715 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.6949, allocations: 8 kB / 0.715 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01708/0.712, allocations: 6.914 MB / 0.7218 GB, free: 12.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.578e-05/0.7121, allocations: 150.2 kB / 0.7219 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.7121, allocations: 4.344 kB / 0.7219 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008926/0.7211, allocations: 2.93 MB / 0.7248 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/0.7238, allocations: 0.5696 MB / 0.7253 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03356/0.7573, allocations: 17.38 MB / 0.7423 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/0.761, allocations: 419.6 kB / 0.7427 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.7612, allocations: 87.98 kB / 0.7428 GB, free: 6.652 MB / 0.5606 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.001252/0.7625, allocations: 0.7081 MB / 0.7435 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000403/0.7629, allocations: 332.1 kB / 0.7438 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006876/0.7636, allocations: 384.1 kB / 0.7441 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.7636, allocations: 27.94 kB / 0.7442 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.752e-05/0.7636, allocations: 8 kB / 0.7442 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.7636, allocations: 16.14 kB / 0.7442 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.7673, allocations: 3.628 MB / 0.7477 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.7673, allocations: 3.938 kB / 0.7477 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002379/0.7697, allocations: 0.5033 MB / 0.7482 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008642/0.7784, allocations: 2.865 MB / 0.751 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/0.7785, allocations: 47.97 kB / 0.7511 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03294/0.8115, allocations: 17.16 MB / 0.7678 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8115, allocations: 4 kB / 0.7678 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/0.8278, allocations: 6.552 MB / 0.7742 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.8289, allocations: 0.6961 MB / 0.7749 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/0.8293, allocations: 47.94 kB / 0.775 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003013/0.8323, allocations: 415.5 kB / 0.7754 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008543/0.8332, allocations: 346.7 kB / 0.7757 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/0.8334, allocations: 71.97 kB / 0.7758 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001725/0.8351, allocations: 1.536 MB / 0.7773 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8351, allocations: 0 / 0.7773 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002019/0.8371, allocations: 1.043 MB / 0.7783 GB, free: 1.93 MB / 0.5919 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.01675/0.8539, allocations: 7.174 MB / 0.7853 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02092/0.8748, allocations: 6.832 MB / 0.792 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8748, allocations: 0 / 0.792 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01545/0.8903, allocations: 4.232 MB / 0.7961 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/0.894, allocations: 1.047 MB / 0.7971 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2683/1.162, allocations: 39.13 MB / 0.8353 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/1.164, allocations: 2.228 MB / 0.8375 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002219/1.167, allocations: 0.509 MB / 0.838 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.168, allocations: 1.324 MB / 0.8393 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of SimCode: time 6.92e-07/1.168, allocations: 1.438 kB / 0.8393 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8805/2.048, allocations: 98.18 MB / 0.9352 GB, free: 138.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001297/2.049, allocations: 240 kB / 0.9354 GB, free: 138.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.349/6.398, allocations: 4.062 kB / 0.9354 GB, free: 138.2 MB / 0.6387 GB (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 --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)