Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.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.DCLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine",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.001268/0.001268, allocations: 102.5 kB / 15.98 MB, free: 6.34 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.001261/0.001261, allocations: 201.4 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.283/1.283, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7051/0.7051, allocations: 115.3 MB / 406.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 71.91 kB / 493.2 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3442, allocations: 76.17 MB / 0.556 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.006873/0.3511, allocations: 6.266 MB / 0.5621 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006346/0.3575, allocations: 4.494 MB / 0.5665 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009745/0.3585, allocations: 23.62 kB / 0.5666 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00281/0.3614, allocations: 0.8543 MB / 0.5674 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003647/0.365, allocations: 0.7136 MB / 0.5681 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3661, allocations: 290.4 kB / 0.5684 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001921/0.368, allocations: 1.137 MB / 0.5695 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.3696, allocations: 0.7733 MB / 0.5702 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.3706, allocations: 482.3 kB / 0.5707 GB, free: 26.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.3717, allocations: 0.5098 MB / 0.5712 GB, free: 26.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.3719, allocations: 69.34 kB / 0.5713 GB, free: 26.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000788/0.3727, allocations: 279.3 kB / 0.5715 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003292/0.3731, allocations: 245.4 kB / 0.5718 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007048/0.3738, allocations: 407.1 kB / 0.5721 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.3757, allocations: 1.082 MB / 0.5732 GB, free: 25.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3757, allocations: 4.641 kB / 0.5732 GB, free: 25.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3757, allocations: 0 / 0.5732 GB, free: 25.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.344e-05/0.3758, allocations: 1.75 kB / 0.5732 GB, free: 25.67 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002495/0.3783, allocations: 1.095 MB / 0.5743 GB, free: 24.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3783, allocations: 10.03 kB / 0.5743 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000187/0.3785, allocations: 101.7 kB / 0.5744 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/0.3818, allocations: 0.6321 MB / 0.575 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009851/0.3828, allocations: 0.5446 MB / 0.5755 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.3828, allocations: 41.08 kB / 0.5756 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.3829, allocations: 52.94 kB / 0.5756 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.3851, allocations: 1.017 MB / 0.5766 GB, free: 23.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3851, allocations: 1.281 kB / 0.5766 GB, free: 23.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/0.3852, allocations: 33.23 kB / 0.5766 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/0.3852, allocations: 48.17 kB / 0.5767 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.3876, allocations: 1.004 MB / 0.5777 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004442/0.3921, allocations: 3.5 MB / 0.5811 GB, free: 20.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.3935, allocations: 0.4885 MB / 0.5816 GB, free: 20.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005566/0.394, allocations: 228.2 kB / 0.5818 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.3941, allocations: 7.469 kB / 0.5818 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.3941, allocations: 37.16 kB / 0.5818 GB, free: 20.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.734e-06/0.3941, allocations: 0 / 0.5818 GB, free: 20.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.006572/0.4007, allocations: 2.009 MB / 0.5838 GB, free: 19.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.4007, allocations: 60.53 kB / 0.5838 GB, free: 19.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009084/0.4017, allocations: 0.572 MB / 0.5844 GB, free: 19.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.4017, allocations: 30.98 kB / 0.5844 GB, free: 19.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.4019, allocations: 359.1 kB / 0.5848 GB, free: 19.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.4021, allocations: 149.3 kB / 0.5849 GB, free: 19.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.4023, allocations: 99.47 kB / 0.585 GB, free: 18.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4024, allocations: 381.2 kB / 0.5854 GB, free: 18.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006305/0.4031, allocations: 256 kB / 0.5856 GB, free: 18.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/0.4037, allocations: 359.7 kB / 0.586 GB, free: 18.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.4049, allocations: 0.6236 MB / 0.5866 GB, free: 17.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4049, allocations: 5.031 kB / 0.5866 GB, free: 17.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002314/0.4073, allocations: 0.9256 MB / 0.5875 GB, free: 17.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4073, allocations: 6.938 kB / 0.5875 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4073, allocations: 7.438 kB / 0.5875 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.4084, allocations: 273 kB / 0.5878 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/0.409, allocations: 117.8 kB / 0.5879 GB, free: 17.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005585/0.4145, allocations: 9.114 MB / 0.5968 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007595/0.4153, allocations: 44.86 kB / 0.5968 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/0.4154, allocations: 23.12 kB / 0.5968 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008381/0.4163, allocations: 433.9 kB / 0.5972 GB, free: 7.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006104/0.4169, allocations: 365.5 kB / 0.5976 GB, free: 7.398 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001265/0.4182, allocations: 0.6085 MB / 0.5982 GB, free: 7.016 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.049e-06/0.4182, allocations: 5.125 kB / 0.5982 GB, free: 7.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002309/0.4205, allocations: 1.113 MB / 0.5993 GB, free: 6.238 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.4205, allocations: 17 kB / 0.5993 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4205, allocations: 7.938 kB / 0.5993 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007319/0.4213, allocations: 222.5 kB / 0.5995 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.4218, allocations: 121.1 kB / 0.5996 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004999/0.4268, allocations: 8.799 MB / 0.6082 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007466/0.4276, allocations: 44.02 kB / 0.6083 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.4277, allocations: 23.98 kB / 0.6083 GB, free: 12.57 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002335/0.4279, allocations: 205.7 kB / 0.6085 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.4281, allocations: 63.25 kB / 0.6085 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.4283, allocations: 82.38 kB / 0.6086 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4283, allocations: 8 kB / 0.6086 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.4283, allocations: 0 / 0.6086 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4283, allocations: 3.984 kB / 0.6086 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009449/0.4293, allocations: 0.6571 MB / 0.6093 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4293, allocations: 0 / 0.6093 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004729/0.4298, allocations: 87.84 kB / 0.6094 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009199/0.4307, allocations: 256.9 kB / 0.6096 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.4307, allocations: 19.92 kB / 0.6096 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006014/0.4368, allocations: 9.054 MB / 0.6185 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4368, allocations: 4.031 kB / 0.6185 GB, free: 1.227 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.4388, allocations: 0.9209 MB / 0.6194 GB, free: 276 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.4391, allocations: 184.2 kB / 0.6195 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.4e-05/0.4392, allocations: 8 kB / 0.6196 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.4397, allocations: 39.94 kB / 0.6196 GB, free: 24 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.4398, allocations: 39.98 kB / 0.6196 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.4399, allocations: 12 kB / 0.6196 GB, free: 15.97 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004278/0.4403, allocations: 415 kB / 0.62 GB, free: 15.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.4403, allocations: 0 / 0.62 GB, free: 15.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001059/0.4414, allocations: 303.9 kB / 0.6203 GB, free: 15.27 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002259/0.4436, allocations: 1.458 MB / 0.6217 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003646/0.4473, allocations: 2.399 MB / 0.6241 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4473, allocations: 12 kB / 0.6241 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.4485, allocations: 0.9997 MB / 0.6251 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.4497, allocations: 228.4 kB / 0.6253 GB, free: 9.918 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.4601, allocations: 6.631 MB / 0.6318 GB, free: 3.082 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.4607, allocations: 0.9821 MB / 0.6327 GB, free: 2.074 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000595/0.4613, allocations: 153.4 kB / 0.6329 GB, free: 1.922 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.4616, allocations: 239.3 kB / 0.6331 GB, free: 1.688 MB / 478.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4616, allocations: 0 / 0.6331 GB, free: 1.688 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04682/0.5084, allocations: 19.41 MB / 0.6521 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.5087, allocations: 227.7 kB / 0.6523 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.63, allocations: 0 / 0.6523 GB, free: 14.34 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLine.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)