Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.657/2.657, allocations: 287.5 MB / 302.4 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00226/0.00226, allocations: 189.6 kB / 371 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.4 MB / 0.6297 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008688/0.0008686, allocations: 96.47 kB / 0.743 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004862, allocations: 11.44 kB / 0.8659 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2437, allocations: 115.3 MB / 0.9785 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT): time 0.9809/1.225, allocations: 196.4 MB / 1.17 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1283/1.353, allocations: 58.21 MB / 1.227 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01166/1.365, allocations: 184.1 kB / 1.227 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01306/1.378, allocations: 2.181 MB / 1.229 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.03747/1.415, allocations: 7.669 MB / 1.237 GB, free: 3.562 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01935/1.435, allocations: 3.662 MB / 1.24 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.04011/1.475, allocations: 20.1 MB / 1.26 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01377/1.489, allocations: 4.319 MB / 1.264 GB, free: 7.383 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02088/1.51, allocations: 5.724 MB / 1.27 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01393/1.524, allocations: 4.679 MB / 1.274 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.002973/1.527, allocations: 264 kB / 1.275 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01797/1.545, allocations: 3.122 MB / 1.278 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.003501/1.548, allocations: 1.104 MB / 1.279 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.004519/1.553, allocations: 1.346 MB / 1.28 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.02013/1.573, allocations: 8.775 MB / 1.289 GB, free: 14.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.573, allocations: 0 / 1.289 GB, free: 14.29 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.866e-06/1.573, allocations: 4 kB / 1.289 GB, free: 14.28 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004018/1.574, allocations: 0 / 1.289 GB, free: 14.28 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.02521/1.599, allocations: 6.285 MB / 1.295 GB, free: 7.914 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/1.599, allocations: 16.02 kB / 1.295 GB, free: 7.898 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001999/1.601, allocations: 494.2 kB / 1.295 GB, free: 7.406 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003985/1.605, allocations: 0.7068 MB / 1.296 GB, free: 6.691 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02477/1.63, allocations: 5.851 MB / 1.302 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004705/1.63, allocations: 283.3 kB / 1.302 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/1.632, allocations: 383.8 kB / 1.302 GB, free: 124 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01457/1.646, allocations: 4.074 MB / 1.306 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/1.647, allocations: 19.78 kB / 1.306 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007037/1.647, allocations: 152 kB / 1.307 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/1.647, allocations: 99.98 kB / 1.307 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01187/1.659, allocations: 3.124 MB / 1.31 GB, free: 8.555 MB / 0.8386 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.0524/1.712, allocations: 23.43 MB / 1.333 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008723/1.721, allocations: 2.295 MB / 1.335 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004009/1.725, allocations: 1.25 MB / 1.336 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007785/1.733, allocations: 6.382 MB / 1.342 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00501/1.738, allocations: 1.407 MB / 1.344 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=261): time 9.268e-06/1.738, allocations: 0 / 1.344 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=261): time 0.01416/1.752, allocations: 3.667 MB / 1.347 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.752, allocations: 111.1 kB / 1.347 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01229/1.764, allocations: 4.212 MB / 1.351 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007463/1.765, allocations: 81.7 kB / 1.351 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00364/1.769, allocations: 2.444 MB / 1.354 GB, free: 7.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001843/1.771, allocations: 0.8932 MB / 1.355 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/1.771, allocations: 56 kB / 1.355 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003012/1.771, allocations: 415.8 kB / 1.355 GB, free: 6.379 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003152/1.774, allocations: 0.9932 MB / 1.356 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004097/1.779, allocations: 1.646 MB / 1.358 GB, free: 3.473 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004125/1.783, allocations: 1.258 MB / 1.359 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-05/1.783, allocations: 7.984 kB / 1.359 GB, free: 2.188 MB / 0.8855 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01192/1.795, allocations: 3.344 MB / 1.362 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005595/1.795, allocations: 0.5732 MB / 1.363 GB, free: 14 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/1.795, allocations: 35.98 kB / 1.363 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-05/1.796, allocations: 32 kB / 1.363 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004989/1.801, allocations: 0.6084 MB / 1.363 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.704e-05/1.801, allocations: 35.92 kB / 1.364 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007096/1.808, allocations: 489.1 kB / 1.364 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009603/1.809, allocations: 147.9 kB / 1.364 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.809, allocations: 7.938 kB / 1.364 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01036/1.819, allocations: 2.88 MB / 1.367 GB, free: 9.734 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/1.819, allocations: 31.98 kB / 1.367 GB, free: 9.703 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.943e-05/1.819, allocations: 35.94 kB / 1.367 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00487/1.824, allocations: 0.6007 MB / 1.368 GB, free: 9.066 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.522e-05/1.824, allocations: 39.86 kB / 1.368 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007008/1.832, allocations: 465.7 kB / 1.368 GB, free: 8.57 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009069/1.832, allocations: 147.9 kB / 1.368 GB, free: 8.426 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004123/1.837, allocations: 1.076 MB / 1.369 GB, free: 7.34 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00189/1.839, allocations: 489.9 kB / 1.37 GB, free: 6.855 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01756/1.856, allocations: 4.888 MB / 1.375 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001499/1.856, allocations: 47.97 kB / 1.375 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/1.856, allocations: 0 / 1.375 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01119/1.868, allocations: 3.486 MB / 1.378 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03217/1.9, allocations: 9.371 MB / 1.387 GB, free: 4.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001586/1.9, allocations: 20.02 kB / 1.387 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004965/1.905, allocations: 0.5189 MB / 1.388 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.034e-05/1.905, allocations: 12 kB / 1.388 GB, free: 4.379 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007118/1.906, allocations: 103.9 kB / 1.388 GB, free: 4.277 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.104e-05/1.906, allocations: 19.94 kB / 1.388 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.906, allocations: 0 / 1.388 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01869/1.925, allocations: 5.931 MB / 1.394 GB, free: 14.24 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004956/1.93, allocations: 1.231 MB / 1.395 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001919/1.932, allocations: 64 kB / 1.395 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007014/1.939, allocations: 367.2 kB / 1.395 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/1.94, allocations: 278.2 kB / 1.395 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000576/1.94, allocations: 143.9 kB / 1.396 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.009242/1.95, allocations: 2.83 MB / 1.398 GB, free: 9.332 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.22e-07/1.95, allocations: 0 / 1.398 GB, free: 9.332 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0148/1.965, allocations: 3.164 MB / 1.401 GB, free: 6.16 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 23 (pip1.cor.del.x,pip1.cor.timDel.x,pip1.vol.dynBal.U,pip4.cor.del.x,pip4.cor.timDel.x,pip4.vol.dynBal.U,pip5.cor.del.x,pip5.cor.timDel.x,pip5.vol.dynBal.U,pip2.cor.del.x,pip2.cor.timDel.x,pip2.vol.dynBal.U,pip3.cor.del.x,pip3.cor.timDel.x,pip3.vol.dynBal.U,senTem_p3.T,senTem_p2.T,senTem_p4.T,senTem_p1.T,pip0.cor.del.x,pip0.cor.timDel.x,pip0.vol.dynBal.U,senTemIn_p2.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (343): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02544/1.99, allocations: 8.537 MB / 1.41 GB, free: 13.74 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01449/2.005, allocations: 5.194 MB / 1.415 GB, free: 8.379 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/2.005, allocations: 4.438 kB / 1.415 GB, free: 8.375 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006202/2.011, allocations: 2.266 MB / 1.417 GB, free: 6.035 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02073/2.032, allocations: 2.244 MB / 1.419 GB, free: 3.816 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8585/2.89, allocations: 37.49 MB / 1.456 GB, free: 313.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005847/2.896, allocations: 2.851 MB / 1.459 GB, free: 312.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01073/2.907, allocations: 1.438 MB / 1.46 GB, free: 312.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006615/2.914, allocations: 2.573 MB / 1.463 GB, free: 310.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.335e-06/2.914, allocations: 1.094 kB / 1.463 GB, free: 310.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4118/3.325, allocations: 159.2 MB / 1.618 GB, free: 176.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/3.326, allocations: 246.3 kB / 1.618 GB, free: 175.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/13.51, allocations: 0 / 1.618 GB, free: 175.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe 2>&1)