Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.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.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",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.001285/0.001285, allocations: 107.2 kB / 15.99 MB, free: 6.332 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.001384/0.001384, allocations: 195.6 kB / 16.91 MB, free: 6.18 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.214/1.214, 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.6672/0.6672, allocations: 115.3 MB / 406.1 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 55.91 kB / 493.2 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3004, allocations: 76.17 MB / 0.556 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1403/0.4407, allocations: 159.1 MB / 0.7114 GB, free: 4.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.4423, allocations: 0.9535 MB / 0.7123 GB, free: 4.027 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.4425, allocations: 7.938 kB / 0.7123 GB, free: 4.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004669/0.443, allocations: 143.2 kB / 0.7125 GB, free: 3.879 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.4443, allocations: 0.6019 MB / 0.7131 GB, free: 3.277 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.4448, allocations: 198.2 kB / 0.7133 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00056/0.4454, allocations: 0.5148 MB / 0.7138 GB, free: 2.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.4457, allocations: 180.1 kB / 0.7139 GB, free: 2.391 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/0.4461, allocations: 247.1 kB / 0.7142 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.4463, allocations: 171.3 kB / 0.7143 GB, free: 1.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.4463, allocations: 16 kB / 0.7143 GB, free: 1.965 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007178/0.447, allocations: 0.561 MB / 0.7149 GB, free: 1.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.4471, allocations: 79.78 kB / 0.715 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.4472, allocations: 111.4 kB / 0.7151 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006421/0.4479, allocations: 0.5219 MB / 0.7156 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4479, allocations: 0 / 0.7156 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4479, allocations: 0 / 0.7156 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.4479, allocations: 0 / 0.7156 GB, free: 0.6914 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001264/0.4492, allocations: 0.5961 MB / 0.7162 GB, free: 48 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.4492, allocations: 11.97 kB / 0.7162 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.474e-05/0.4493, allocations: 50.55 kB / 0.7162 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002337/0.4495, allocations: 51.67 kB / 0.7163 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.4498, allocations: 278.8 kB / 0.7165 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4499, allocations: 12.33 kB / 0.7165 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.4499, allocations: 16 kB / 0.7166 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.4504, allocations: 247.1 kB / 0.7168 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.4504, allocations: 0 / 0.7168 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.4504, allocations: 12 kB / 0.7168 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.4504, allocations: 8 kB / 0.7168 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005616/0.451, allocations: 251.6 kB / 0.7171 GB, free: 15.07 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.4521, allocations: 0.8353 MB / 0.7179 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.4524, allocations: 150.6 kB / 0.718 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.4526, allocations: 116.7 kB / 0.7181 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.4529, allocations: 186.2 kB / 0.7183 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4529, allocations: 38.5 kB / 0.7183 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.462e-06/0.4529, allocations: 4 kB / 0.7183 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007361/0.4536, allocations: 293.2 kB / 0.7186 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.4537, allocations: 51.41 kB / 0.7187 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.4539, allocations: 245 kB / 0.7189 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.4539, allocations: 29.7 kB / 0.7189 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.454, allocations: 140.2 kB / 0.7191 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.454, allocations: 51.28 kB / 0.7191 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.4541, allocations: 33.7 kB / 0.7192 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.4542, allocations: 334.8 kB / 0.7195 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.4544, allocations: 67.89 kB / 0.7195 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.4546, allocations: 102.5 kB / 0.7196 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.4549, allocations: 172.9 kB / 0.7198 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4549, allocations: 3.938 kB / 0.7198 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004023/0.4553, allocations: 209.4 kB / 0.72 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.4554, allocations: 12 kB / 0.72 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4554, allocations: 7.984 kB / 0.72 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.4554, allocations: 0 / 0.72 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.4556, allocations: 35.91 kB / 0.7201 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4556, allocations: 0 / 0.7201 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.4557, allocations: 31.73 kB / 0.7201 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.4558, allocations: 8 kB / 0.7201 GB, free: 11.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.4559, allocations: 145.8 kB / 0.7202 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.4559, allocations: 19.75 kB / 0.7203 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.456, allocations: 33.83 kB / 0.7203 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.456, allocations: 0 / 0.7203 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.456, allocations: 0 / 0.7203 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.456, allocations: 3.984 kB / 0.7203 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009313/0.457, allocations: 0.6756 MB / 0.7209 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.457, allocations: 4 kB / 0.721 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.4571, allocations: 31.91 kB / 0.721 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4572, allocations: 4 kB / 0.721 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.4572, allocations: 8.219 kB / 0.721 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4572, allocations: 0 / 0.721 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4572, allocations: 4 kB / 0.721 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.4576, allocations: 363.9 kB / 0.7213 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-05/0.4577, allocations: 112.9 kB / 0.7215 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.4578, allocations: 7.938 kB / 0.7215 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.4579, allocations: 7.984 kB / 0.7215 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.458, allocations: 23.92 kB / 0.7215 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.458, allocations: 4 kB / 0.7215 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001332/0.4582, allocations: 180.5 kB / 0.7217 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4582, allocations: 0 / 0.7217 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003196/0.4585, allocations: 59.84 kB / 0.7217 GB, free: 9.949 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008681/0.4594, allocations: 0.9444 MB / 0.7226 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.4598, allocations: 175.8 kB / 0.7228 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4598, allocations: 0 / 0.7228 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.46, allocations: 91.81 kB / 0.7229 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.4607, allocations: 130 kB / 0.723 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.4634, allocations: 2.508 MB / 0.7255 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.4636, allocations: 0.7519 MB / 0.7262 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002093/0.4638, allocations: 61.91 kB / 0.7263 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.464, allocations: 67.41 kB / 0.7263 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.464, allocations: 0 / 0.7263 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7076/1.172, allocations: 6.722 MB / 0.7329 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/1.172, allocations: 249.1 kB / 0.7331 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/3.975, allocations: 3.938 kB / 0.7331 GB, free: 14.29 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)