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.001149/0.001149, allocations: 96.58 kB / 15.68 MB, free: 488 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.001402/0.001402, allocations: 175.6 kB / 16.57 MB, free: 6.387 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.495/1.495, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6979/0.6979, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004012, allocations: 8 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1709, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02023/0.1912, allocations: 19.16 MB / 0.5754 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3812/0.5724, allocations: 16.04 MB / 0.5911 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003625/0.5761, allocations: 92.62 kB / 0.5912 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.5785, allocations: 0.546 MB / 0.5917 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0138/0.5923, allocations: 2.822 MB / 0.5945 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004599/0.5969, allocations: 0.9454 MB / 0.5954 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.607, allocations: 3.415 MB / 0.5987 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00601/0.6131, allocations: 2.066 MB / 0.6008 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006138/0.6192, allocations: 1.812 MB / 0.6025 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006323/0.6256, allocations: 1.791 MB / 0.6043 GB, free: 9.695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002106/0.6277, allocations: 179.7 kB / 0.6044 GB, free: 9.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003793/0.6315, allocations: 492 kB / 0.6049 GB, free: 9.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002585/0.6341, allocations: 0.8791 MB / 0.6058 GB, free: 9.559 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002662/0.6368, allocations: 0.6936 MB / 0.6065 GB, free: 9.406 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006756/0.6436, allocations: 3.901 MB / 0.6103 GB, free: 8.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6436, allocations: 0 / 0.6103 GB, free: 8.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6436, allocations: 0.9062 kB / 0.6103 GB, free: 8.391 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002413/0.6439, allocations: 3.938 kB / 0.6103 GB, free: 8.387 MB / 446.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.01193/0.6558, allocations: 4.112 MB / 0.6143 GB, free: 5.906 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6559, allocations: 10.31 kB / 0.6143 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001601/0.6575, allocations: 362.9 kB / 0.6146 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/0.6739, allocations: 3.404 MB / 0.618 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006152/0.6801, allocations: 1.988 MB / 0.6199 GB, free: 2.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004067/0.6805, allocations: 466.1 kB / 0.6204 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001171/0.6817, allocations: 231 kB / 0.6206 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.6929, allocations: 4.839 MB / 0.6253 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/0.693, allocations: 3.938 kB / 0.6253 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003099/0.6933, allocations: 108.6 kB / 0.6254 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/0.6935, allocations: 171.3 kB / 0.6256 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/0.7056, allocations: 5.297 MB / 0.6307 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01979/0.7255, allocations: 14.6 MB / 0.645 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008922/0.7344, allocations: 3.668 MB / 0.6486 GB, free: 8.871 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.7345, allocations: 22 kB / 0.6486 GB, free: 8.855 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003822/0.7384, allocations: 1.91 MB / 0.6505 GB, free: 6.883 MB / 478.1 MB Notification: Performance of pre-optimization done (n=163): time 3.056e-06/0.7384, allocations: 0 / 0.6505 GB, free: 6.883 MB / 478.1 MB Notification: Performance of matching and sorting (n=250): time 0.1216/0.86, allocations: 34.09 MB / 0.6838 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/0.8602, allocations: 0.5001 MB / 0.6842 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/0.8631, allocations: 2.273 MB / 0.6865 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003247/0.8634, allocations: 81.64 kB / 0.6865 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.8645, allocations: 1.426 MB / 0.6879 GB, free: 180 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006871/0.8652, allocations: 0.8295 MB / 0.6887 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.8653, allocations: 44 kB / 0.6888 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.8655, allocations: 394.7 kB / 0.6892 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004839/0.8703, allocations: 2.108 MB / 0.6912 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005008/0.8754, allocations: 2.395 MB / 0.6936 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004981/0.8804, allocations: 2.296 MB / 0.6958 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8804, allocations: 0 / 0.6958 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01747/0.8978, allocations: 6.885 MB / 0.7025 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.588e-05/0.898, allocations: 148.5 kB / 0.7027 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.898, allocations: 4 kB / 0.7027 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00886/0.9068, allocations: 2.942 MB / 0.7056 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/0.9096, allocations: 0.5773 MB / 0.7061 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03431/0.9439, allocations: 18.15 MB / 0.7238 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004165/0.9481, allocations: 419.6 kB / 0.7242 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.9483, allocations: 83.98 kB / 0.7243 GB, free: 10.45 MB / 0.545 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001428/0.9497, allocations: 0.7073 MB / 0.725 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004179/0.9502, allocations: 336.1 kB / 0.7253 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.9507, allocations: 380.1 kB / 0.7257 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.9507, allocations: 24 kB / 0.7257 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-05/0.9508, allocations: 15.95 kB / 0.7257 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.9508, allocations: 11.95 kB / 0.7257 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003785/0.9546, allocations: 3.623 MB / 0.7293 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.9546, allocations: 3.953 kB / 0.7293 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002313/0.9569, allocations: 0.5033 MB / 0.7298 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00861/0.9655, allocations: 2.869 MB / 0.7326 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/0.9657, allocations: 51.97 kB / 0.7326 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03342/0.9992, allocations: 17.93 MB / 0.7501 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9992, allocations: 0 / 0.7501 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/1.015, allocations: 6.528 MB / 0.7565 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/1.017, allocations: 0.7038 MB / 0.7572 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004577/1.018, allocations: 52.55 kB / 0.7573 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002977/1.021, allocations: 407.6 kB / 0.7576 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001154/1.022, allocations: 366.6 kB / 0.758 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.022, allocations: 67.97 kB / 0.7581 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002107/1.024, allocations: 1.513 MB / 0.7595 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/1.024, allocations: 0 / 0.7595 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002422/1.027, allocations: 1.047 MB / 0.7606 GB, free: 5 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.01601/1.043, allocations: 7.152 MB / 0.7675 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02025/1.063, allocations: 6.823 MB / 0.7742 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.063, allocations: 4 kB / 0.7742 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01505/1.078, allocations: 4.221 MB / 0.7783 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003896/1.082, allocations: 1.001 MB / 0.7793 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05141/1.134, allocations: 30.54 MB / 0.8091 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/1.135, allocations: 2.289 MB / 0.8114 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002164/1.137, allocations: 0.5099 MB / 0.8119 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/1.139, allocations: 1.327 MB / 0.8132 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of SimCode: time 6.92e-07/1.139, allocations: 0 / 0.8132 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.444/4.583, allocations: 96.44 MB / 0.9073 GB, free: 165.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.06184/4.645, allocations: 213.1 kB / 0.9075 GB, free: 165.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.076/9.72, allocations: 4 kB / 0.9075 GB, free: 165.5 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/linux/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) Environment - environmentSimulation: