Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001817/0.001817, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002183/0.002183, allocations: 284.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9564/0.9564, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 95.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4655/0.4674, allocations: 86.98 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT): time 0.7402/1.208, allocations: 375.2 MB / 1.133 GB, free: 5.301 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1123/1.32, allocations: 80.85 MB / 1.212 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02036/1.34, allocations: 397.8 kB / 1.213 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.015/1.356, allocations: 4.658 MB / 1.217 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.03809/1.394, allocations: 13.53 MB / 1.231 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.02393/1.418, allocations: 8.868 MB / 1.239 GB, free: 8.762 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.03848/1.456, allocations: 26.16 MB / 1.265 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01476/1.471, allocations: 8.293 MB / 1.273 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02572/1.497, allocations: 10.45 MB / 1.283 GB, free: 11.68 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01473/1.511, allocations: 7.081 MB / 1.29 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003885/1.515, allocations: 0.8711 MB / 1.291 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02014/1.536, allocations: 6.793 MB / 1.297 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.005429/1.541, allocations: 2.195 MB / 1.3 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01214/1.553, allocations: 5.121 MB / 1.305 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.6156/2.169, allocations: 15.51 MB / 1.32 GB, free: 78.28 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/2.169, allocations: 4.656 kB / 1.32 GB, free: 78.28 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.974e-06/2.169, allocations: 2.531 kB / 1.32 GB, free: 78.28 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.000478/2.169, allocations: 0 / 1.32 GB, free: 78.28 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1369 * Number of variables: 1369 Notification: Performance of Generate backend data structure: time 0.02937/2.199, allocations: 9.905 MB / 1.329 GB, free: 74.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/2.199, allocations: 12.45 kB / 1.329 GB, free: 74.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004267/2.203, allocations: 1.015 MB / 1.33 GB, free: 73.85 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/2.22, allocations: 7.839 MB / 1.338 GB, free: 72.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004187/2.22, allocations: 406 kB / 1.339 GB, free: 72.49 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/2.223, allocations: 0.5402 MB / 1.339 GB, free: 72.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/2.239, allocations: 5.914 MB / 1.345 GB, free: 71.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002518/2.239, allocations: 16.06 kB / 1.345 GB, free: 71.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001306/2.24, allocations: 228.4 kB / 1.345 GB, free: 71.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/2.24, allocations: 149.5 kB / 1.345 GB, free: 71.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009824/2.25, allocations: 4.391 MB / 1.349 GB, free: 71.75 MB / 0.9356 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.04674/2.297, allocations: 32.38 MB / 1.381 GB, free: 53.79 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005365/2.302, allocations: 2.856 MB / 1.384 GB, free: 53.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002723/2.305, allocations: 1.645 MB / 1.385 GB, free: 53.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003901/2.309, allocations: 7.048 MB / 1.392 GB, free: 45.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003816/2.313, allocations: 1.723 MB / 1.394 GB, free: 45.61 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003867/2.317, allocations: 284.8 kB / 1.394 GB, free: 45.46 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=347): time 1.199e-05/2.317, allocations: 0 / 1.394 GB, free: 45.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=347): time 0.009025/2.326, allocations: 4.518 MB / 1.399 GB, free: 44.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/2.326, allocations: 115.5 kB / 1.399 GB, free: 44.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008335/2.334, allocations: 5.839 MB / 1.405 GB, free: 44.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0005683/2.335, allocations: 100.7 kB / 1.405 GB, free: 44.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002587/2.338, allocations: 3.615 MB / 1.408 GB, free: 43.3 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/2.339, allocations: 1.212 MB / 1.409 GB, free: 42.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/2.34, allocations: 0.7955 MB / 1.41 GB, free: 42.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 4.121e-05/2.34, allocations: 301.1 kB / 1.41 GB, free: 42.15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/2.342, allocations: 1.288 MB / 1.412 GB, free: 42.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/2.344, allocations: 2.411 MB / 1.414 GB, free: 40.8 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004676/2.349, allocations: 3.921 MB / 1.418 GB, free: 39.55 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.967e-05/2.349, allocations: 10.5 kB / 1.418 GB, free: 39.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.008241/2.357, allocations: 4.592 MB / 1.422 GB, free: 39.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/2.357, allocations: 18.34 kB / 1.422 GB, free: 39.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.517e-05/2.357, allocations: 51.02 kB / 1.422 GB, free: 39.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.154e-05/2.357, allocations: 54.12 kB / 1.422 GB, free: 39.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/2.36, allocations: 0.9061 MB / 1.423 GB, free: 39.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.333e-05/2.36, allocations: 73.48 kB / 1.423 GB, free: 39.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005109/2.365, allocations: 183.1 kB / 1.424 GB, free: 39.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004236/2.366, allocations: 224.3 kB / 1.424 GB, free: 39.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004335/2.37, allocations: 2.39 MB / 1.426 GB, free: 38.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002396/2.373, allocations: 2.405 MB / 1.429 GB, free: 37.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004542/2.377, allocations: 3.901 MB / 1.432 GB, free: 36.37 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.516e-05/2.377, allocations: 7.844 kB / 1.432 GB, free: 36.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=533) (initialization_lambda0): time 0.008191/2.385, allocations: 4.579 MB / 1.437 GB, free: 35.88 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/2.385, allocations: 17.19 kB / 1.437 GB, free: 35.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.615e-05/2.385, allocations: 46.83 kB / 1.437 GB, free: 35.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.612e-05/2.386, allocations: 60.31 kB / 1.437 GB, free: 35.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/2.388, allocations: 0.8996 MB / 1.438 GB, free: 35.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.492e-05/2.388, allocations: 73.14 kB / 1.438 GB, free: 35.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005435/2.394, allocations: 188.7 kB / 1.438 GB, free: 35.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004339/2.394, allocations: 216.8 kB / 1.438 GB, free: 35.86 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,lessThreshold.y,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (521): * Single equations (assignments): 509 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001142/2.395, allocations: 440.5 kB / 1.439 GB, free: 35.65 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002442/2.398, allocations: 0.683 MB / 1.439 GB, free: 35.29 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009444/2.407, allocations: 5.575 MB / 1.445 GB, free: 34.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005235/2.413, allocations: 3.656 MB / 1.448 GB, free: 33.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.585e-05/2.413, allocations: 17.22 kB / 1.448 GB, free: 33.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005082/2.418, allocations: 1.305 MB / 1.45 GB, free: 33.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001971/2.42, allocations: 84.72 kB / 1.45 GB, free: 33.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004147/2.424, allocations: 161.1 kB / 1.45 GB, free: 32.95 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005096/2.424, allocations: 315.8 kB / 1.45 GB, free: 32.79 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007978/2.432, allocations: 4.577 MB / 1.455 GB, free: 30.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01033/2.443, allocations: 7.14 MB / 1.462 GB, free: 26.13 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002404/2.445, allocations: 2.046 MB / 1.464 GB, free: 24.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.006448/2.452, allocations: 3.89 MB / 1.467 GB, free: 21.39 MB / 0.9356 GB Notification: Performance of Backend: time 1.933e-06/2.452, allocations: 0 / 1.467 GB, free: 21.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01676/2.469, allocations: 7.883 MB / 1.475 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of SimCode: time 0.02925/2.498, allocations: 16.01 MB / 1.491 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of Templates: time 0.2565/2.754, allocations: 161.3 MB / 1.648 GB, free: 15.36 MB / 1.107 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe 2>&1)