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.001392/0.001392, allocations: 104.4 kB / 15.98 MB, free: 6.344 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.001256/0.001256, allocations: 195.1 kB / 16.91 MB, free: 6.188 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.258/1.258, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7029/0.7029, allocations: 115.3 MB / 406.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 59.91 kB / 493.2 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.409, allocations: 76.17 MB / 0.556 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0237/0.4327, allocations: 22.41 MB / 0.5779 GB, free: 21.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02405/0.4568, allocations: 17.46 MB / 0.595 GB, free: 9.195 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003765/0.4606, allocations: 103.1 kB / 0.5951 GB, free: 9.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009837/0.4705, allocations: 3.939 MB / 0.5989 GB, free: 6.434 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01146/0.482, allocations: 3.199 MB / 0.602 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.4853, allocations: 1.19 MB / 0.6032 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006978/0.4923, allocations: 5.793 MB / 0.6088 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00517/0.4975, allocations: 4.022 MB / 0.6128 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004107/0.5016, allocations: 2.46 MB / 0.6152 GB, free: 8.09 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004213/0.5059, allocations: 2.518 MB / 0.6176 GB, free: 5.562 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007518/0.5066, allocations: 368 kB / 0.618 GB, free: 5.203 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.509, allocations: 1.037 MB / 0.619 GB, free: 4.164 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.5102, allocations: 1.196 MB / 0.6202 GB, free: 2.965 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003062/0.5133, allocations: 2.002 MB / 0.6221 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006983/0.5202, allocations: 5.175 MB / 0.6272 GB, free: 11.76 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.5203, allocations: 4 kB / 0.6272 GB, free: 11.76 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.5203, allocations: 4 kB / 0.6272 GB, free: 11.75 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001529/0.5205, allocations: 0 / 0.6272 GB, free: 11.75 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.01176/0.5322, allocations: 4.612 MB / 0.6317 GB, free: 7.027 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.5323, allocations: 12.03 kB / 0.6317 GB, free: 7.016 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000625/0.5329, allocations: 366.3 kB / 0.632 GB, free: 6.648 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01519/0.5481, allocations: 3.261 MB / 0.6352 GB, free: 3.379 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004568/0.5527, allocations: 2.08 MB / 0.6373 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000429/0.5532, allocations: 474 kB / 0.6377 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000927/0.5541, allocations: 232 kB / 0.6379 GB, free: 488 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/0.5664, allocations: 4.81 MB / 0.6426 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.982e-05/0.5665, allocations: 0 / 0.6426 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007808/0.5673, allocations: 112 kB / 0.6427 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002406/0.5676, allocations: 172.8 kB / 0.6429 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.5811, allocations: 5.191 MB / 0.648 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0222/0.6034, allocations: 14.5 MB / 0.6621 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009306/0.6127, allocations: 3.394 MB / 0.6654 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003434/0.6162, allocations: 1.463 MB / 0.6669 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.6163, allocations: 33.28 kB / 0.6669 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004156/0.6205, allocations: 1.795 MB / 0.6687 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=163): time 4.078e-06/0.6205, allocations: 0 / 0.6687 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1166/0.7371, allocations: 28.21 MB / 0.6962 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001995/0.7374, allocations: 0.4889 MB / 0.6967 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003141/0.7405, allocations: 2.304 MB / 0.6989 GB, free: 260 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000357/0.7409, allocations: 73.7 kB / 0.699 GB, free: 180 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.742, allocations: 1.434 MB / 0.7004 GB, free: 14.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007874/0.7428, allocations: 0.8201 MB / 0.7012 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009108/0.7437, allocations: 416.5 kB / 0.7016 GB, free: 13.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.7438, allocations: 305.1 kB / 0.7019 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004898/0.7487, allocations: 1.933 MB / 0.7038 GB, free: 11.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005111/0.7538, allocations: 2.227 MB / 0.706 GB, free: 8.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009873/0.7637, allocations: 4.165 MB / 0.71 GB, free: 4.629 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.7637, allocations: 0 / 0.71 GB, free: 4.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01842/0.7822, allocations: 6.539 MB / 0.7164 GB, free: 14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.7824, allocations: 150.7 kB / 0.7166 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/0.7824, allocations: 8 kB / 0.7166 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009812/0.7922, allocations: 2.946 MB / 0.7194 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/0.7949, allocations: 491.2 kB / 0.7199 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03747/0.8324, allocations: 18.85 MB / 0.7383 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00397/0.8364, allocations: 323.5 kB / 0.7386 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005152/0.837, allocations: 87.97 kB / 0.7387 GB, free: 6.879 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.001787/0.8388, allocations: 0.7144 MB / 0.7394 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009177/0.8397, allocations: 328.2 kB / 0.7397 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008735/0.8406, allocations: 384.1 kB / 0.7401 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.8406, allocations: 24 kB / 0.7401 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.531e-05/0.8406, allocations: 12 kB / 0.7401 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/0.8407, allocations: 15.94 kB / 0.7401 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.8454, allocations: 3.632 MB / 0.7437 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/0.8455, allocations: 4 kB / 0.7437 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002306/0.8478, allocations: 411.4 kB / 0.7441 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.25/1.098, allocations: 2.888 MB / 0.7469 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000476/1.098, allocations: 49.86 kB / 0.7469 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0378/1.136, allocations: 18.63 MB / 0.7651 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.136, allocations: 1.344 kB / 0.7651 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/1.153, allocations: 6.172 MB / 0.7712 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/1.155, allocations: 0.7027 MB / 0.7718 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008421/1.156, allocations: 51.75 kB / 0.7719 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003186/1.159, allocations: 310.2 kB / 0.7722 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001271/1.16, allocations: 355.1 kB / 0.7725 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002537/1.16, allocations: 72.69 kB / 0.7726 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002098/1.162, allocations: 1.531 MB / 0.7741 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.41e-07/1.163, allocations: 0 / 0.7741 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003314/1.166, allocations: 1.048 MB / 0.7751 GB, free: 149.7 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.01675/1.183, allocations: 6.798 MB / 0.7818 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0221/1.205, allocations: 7.298 MB / 0.7889 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.205, allocations: 11.19 kB / 0.7889 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01482/1.22, allocations: 4.057 MB / 0.7929 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00432/1.224, allocations: 1.136 MB / 0.794 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06354/1.288, allocations: 38.1 MB / 0.8312 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/1.289, allocations: 2.227 MB / 0.8333 GB, free: 98.01 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002304/1.291, allocations: 0.5068 MB / 0.8338 GB, free: 97.51 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/1.293, allocations: 1.343 MB / 0.8352 GB, free: 96.16 MB / 0.5762 GB Notification: Performance of SimCode: time 9.21e-07/1.293, allocations: 3.938 kB / 0.8352 GB, free: 96.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/1.409, allocations: 102.8 MB / 0.9355 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/1.409, allocations: 237.5 kB / 0.9357 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.538/5.947, allocations: 0 / 0.9357 GB, free: 10.2 MB / 0.5919 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)