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.001239/0.001239, allocations: 100.8 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 189.6 kB / 17.2 MB, free: 5.574 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.279/1.279, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7475/0.7475, allocations: 122.8 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3478, allocations: 77.91 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02332/0.3711, allocations: 22.62 MB / 0.5894 GB, free: 16.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02328/0.3945, allocations: 17.63 MB / 0.6066 GB, free: 2.488 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004582/0.3991, allocations: 115.4 kB / 0.6067 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009981/0.4091, allocations: 4.175 MB / 0.6108 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.42, allocations: 3.514 MB / 0.6142 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003695/0.4237, allocations: 1.309 MB / 0.6155 GB, free: 9.406 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008307/0.432, allocations: 5.772 MB / 0.6211 GB, free: 3.617 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0051/0.4372, allocations: 3.608 MB / 0.6246 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004812/0.442, allocations: 2.398 MB / 0.627 GB, free: 13.53 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004632/0.4467, allocations: 2.448 MB / 0.6294 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.4477, allocations: 368 kB / 0.6297 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.4505, allocations: 1.041 MB / 0.6307 GB, free: 9.672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.4516, allocations: 1.192 MB / 0.6319 GB, free: 8.477 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002734/0.4543, allocations: 1.998 MB / 0.6338 GB, free: 6.469 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005728/0.4601, allocations: 5.12 MB / 0.6388 GB, free: 1.332 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4601, allocations: 0 / 0.6388 GB, free: 1.332 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4601, allocations: 0 / 0.6388 GB, free: 1.332 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001285/0.4603, allocations: 0 / 0.6388 GB, free: 1.332 MB / 478.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.009837/0.4701, allocations: 4.616 MB / 0.6434 GB, free: 12.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4702, allocations: 8.625 kB / 0.6434 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004716/0.4706, allocations: 366.3 kB / 0.6437 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/0.4868, allocations: 3.265 MB / 0.6469 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005274/0.4921, allocations: 2.088 MB / 0.6489 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004232/0.4926, allocations: 466 kB / 0.6494 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009452/0.4935, allocations: 232 kB / 0.6496 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.5055, allocations: 4.815 MB / 0.6543 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.017e-05/0.5056, allocations: 0 / 0.6543 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000467/0.506, allocations: 99.98 kB / 0.6544 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/0.5062, allocations: 172.8 kB / 0.6546 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/0.5201, allocations: 5.198 MB / 0.6596 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02113/0.5412, allocations: 14.48 MB / 0.6738 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009607/0.5509, allocations: 3.402 MB / 0.6771 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003579/0.5545, allocations: 1.467 MB / 0.6785 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.5546, allocations: 21.3 kB / 0.6786 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004069/0.5587, allocations: 1.796 MB / 0.6803 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=163): time 3.486e-06/0.5587, allocations: 3.938 kB / 0.6803 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1268/0.6855, allocations: 28.22 MB / 0.7079 GB, free: 8.746 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002186/0.6857, allocations: 0.4889 MB / 0.7084 GB, free: 8.145 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00353/0.6893, allocations: 2.296 MB / 0.7106 GB, free: 5.836 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003619/0.6897, allocations: 77.7 kB / 0.7107 GB, free: 5.754 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.6909, allocations: 1.43 MB / 0.7121 GB, free: 4.309 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008466/0.6918, allocations: 0.8201 MB / 0.7129 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009481/0.6927, allocations: 416.4 kB / 0.7133 GB, free: 3.062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.6928, allocations: 317.1 kB / 0.7136 GB, free: 2.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005259/0.6981, allocations: 1.917 MB / 0.7154 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005557/0.7036, allocations: 2.239 MB / 0.7176 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/0.7142, allocations: 4.161 MB / 0.7217 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.7143, allocations: 0 / 0.7217 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01893/0.7332, allocations: 6.539 MB / 0.7281 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.7333, allocations: 148.5 kB / 0.7282 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.7334, allocations: 4 kB / 0.7282 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/0.7436, allocations: 2.957 MB / 0.7311 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/0.7465, allocations: 483.2 kB / 0.7316 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2735/1.02, allocations: 18.85 MB / 0.75 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004189/1.024, allocations: 321.4 kB / 0.7503 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003137/1.025, allocations: 89.84 kB / 0.7504 GB, free: 153.6 MB / 0.5762 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.001533/1.026, allocations: 0.7058 MB / 0.7511 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006394/1.027, allocations: 329.9 kB / 0.7514 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006473/1.027, allocations: 382.9 kB / 0.7517 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/1.027, allocations: 26.69 kB / 0.7518 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.029e-05/1.027, allocations: 13.06 kB / 0.7518 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/1.027, allocations: 15.8 kB / 0.7518 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005389/1.033, allocations: 3.621 MB / 0.7553 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/1.033, allocations: 0.7969 kB / 0.7553 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/1.036, allocations: 417.4 kB / 0.7557 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01096/1.046, allocations: 2.889 MB / 0.7586 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005955/1.047, allocations: 52.08 kB / 0.7586 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03612/1.083, allocations: 18.63 MB / 0.7768 GB, free: 143 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.083, allocations: 0 / 0.7768 GB, free: 143 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/1.1, allocations: 6.185 MB / 0.7828 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/1.101, allocations: 0.6921 MB / 0.7835 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004943/1.102, allocations: 47.55 kB / 0.7836 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003/1.105, allocations: 311.5 kB / 0.7839 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/1.106, allocations: 358.1 kB / 0.7842 GB, free: 140 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.106, allocations: 67.11 kB / 0.7843 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001847/1.108, allocations: 1.537 MB / 0.7858 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/1.108, allocations: 0 / 0.7858 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002654/1.11, allocations: 1.046 MB / 0.7868 GB, free: 138.9 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 (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.01597/1.126, allocations: 6.813 MB / 0.7934 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02316/1.149, allocations: 7.301 MB / 0.8006 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/1.15, allocations: 9.812 kB / 0.8006 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01644/1.166, allocations: 4.055 MB / 0.8045 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004309/1.17, allocations: 1.134 MB / 0.8056 GB, free: 119.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06218/1.233, allocations: 36.9 MB / 0.8417 GB, free: 80.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.234, allocations: 2.231 MB / 0.8439 GB, free: 78.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002201/1.236, allocations: 0.5027 MB / 0.8443 GB, free: 77.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/1.237, allocations: 1.339 MB / 0.8457 GB, free: 76.54 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/1.237, allocations: 0 / 0.8457 GB, free: 76.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1416/1.379, allocations: 104.2 MB / 0.9474 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/14.35, allocations: 5.406 kB / 0.9474 GB, free: 5.375 MB / 0.6075 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)