Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.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.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 119.7 kB / 16.42 MB, free: 6.496 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.001207/0.001207, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.388/1.388, allocations: 222.9 MB / 241.1 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.002137/0.002137, allocations: 293.5 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 1.016/1.016, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 91.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4263, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.06633/0.4926, allocations: 66.54 MB / 0.832 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0228/0.5155, allocations: 16.74 MB / 0.8484 GB, free: 396 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0024/0.5179, allocations: 63.62 kB / 0.8484 GB, free: 332 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002834/0.5208, allocations: 0.8347 MB / 0.8492 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006979/0.5278, allocations: 2.678 MB / 0.8519 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004579/0.5324, allocations: 1.828 MB / 0.8536 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.03867/0.5711, allocations: 35.87 MB / 0.8887 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02354/0.5947, allocations: 15.77 MB / 0.9041 GB, free: 7.121 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02732/0.6221, allocations: 11.98 MB / 0.9158 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01553/0.6376, allocations: 9.707 MB / 0.9252 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.004592/0.6423, allocations: 1.453 MB / 0.9267 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01226/0.6545, allocations: 3.177 MB / 0.9298 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.007712/0.6623, allocations: 3.283 MB / 0.933 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01895/0.6813, allocations: 7.314 MB / 0.9401 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.8266/1.508, allocations: 21.97 MB / 0.9616 GB, free: 67.63 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/1.508, allocations: 0.5 kB / 0.9616 GB, free: 67.63 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/1.508, allocations: 3.469 kB / 0.9616 GB, free: 67.63 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0007934/1.509, allocations: 3.406 kB / 0.9616 GB, free: 67.63 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1830 * Number of variables: 1830 Notification: Performance of Generate backend data structure: time 0.04545/1.554, allocations: 13.13 MB / 0.9744 GB, free: 63.13 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.554, allocations: 9.875 kB / 0.9744 GB, free: 63.13 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007732/1.562, allocations: 1.287 MB / 0.9757 GB, free: 62.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03031/1.592, allocations: 12.97 MB / 0.9883 GB, free: 60.85 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006634/1.593, allocations: 0.5236 MB / 0.9889 GB, free: 60.83 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004269/1.597, allocations: 0.7114 MB / 0.9895 GB, free: 60.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03534/1.633, allocations: 11.21 MB / 1 GB, free: 59.87 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005328/1.633, allocations: 29.88 kB / 1.001 GB, free: 59.87 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00347/1.637, allocations: 307.1 kB / 1.001 GB, free: 59.87 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002562/1.637, allocations: 219.9 kB / 1.001 GB, free: 59.86 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02229/1.659, allocations: 9.245 MB / 1.01 GB, free: 59.8 MB / 0.7169 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.07761/1.737, allocations: 52.13 MB / 1.061 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008578/1.746, allocations: 4.857 MB / 1.066 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004943/1.751, allocations: 2.829 MB / 1.068 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/1.752, allocations: 1.715 MB / 1.07 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/1.752, allocations: 86.27 kB / 1.07 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=420): time 1.019e-05/1.752, allocations: 0 / 1.07 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=420): time 0.01968/1.772, allocations: 7.814 MB / 1.078 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/1.772, allocations: 94.55 kB / 1.078 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02667/1.799, allocations: 10.47 MB / 1.088 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001576/1.801, allocations: 109.7 kB / 1.088 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.007071/1.808, allocations: 4.726 MB / 1.093 GB, free: 12.65 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.003531/1.811, allocations: 1.492 MB / 1.094 GB, free: 11.17 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004793/1.816, allocations: 1.103 MB / 1.095 GB, free: 10.06 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.816, allocations: 301.1 kB / 1.096 GB, free: 9.762 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005977/1.822, allocations: 2.676 MB / 1.098 GB, free: 7.07 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007401/1.83, allocations: 4.199 MB / 1.102 GB, free: 2.23 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01364/1.843, allocations: 7.411 MB / 1.11 GB, free: 10.36 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.809e-05/1.843, allocations: 12 kB / 1.11 GB, free: 10.34 MB / 0.7638 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.02304/1.866, allocations: 7.988 MB / 1.117 GB, free: 2.613 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 9.102e-05/1.866, allocations: 28 kB / 1.118 GB, free: 2.586 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003531/1.867, allocations: 75.97 kB / 1.118 GB, free: 2.512 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/1.867, allocations: 77.78 kB / 1.118 GB, free: 2.438 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005601/1.873, allocations: 1.202 MB / 1.119 GB, free: 1.312 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001946/1.873, allocations: 103.5 kB / 1.119 GB, free: 1.23 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009889/1.883, allocations: 0.6967 MB / 1.12 GB, free: 0.5312 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/1.884, allocations: 279.9 kB / 1.12 GB, free: 264 kB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01517/1.9, allocations: 6.434 MB / 1.126 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007631/1.907, allocations: 4.198 MB / 1.13 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01431/1.922, allocations: 7.414 MB / 1.137 GB, free: 13.1 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.957e-05/1.922, allocations: 12 kB / 1.138 GB, free: 13.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.02327/1.945, allocations: 7.979 MB / 1.145 GB, free: 5.363 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.323e-05/1.945, allocations: 26.19 kB / 1.145 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000309/1.945, allocations: 80.06 kB / 1.145 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-05/1.946, allocations: 76 kB / 1.145 GB, free: 5.188 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005385/1.951, allocations: 1.205 MB / 1.147 GB, free: 4.062 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001561/1.951, allocations: 99.84 kB / 1.147 GB, free: 3.984 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009358/1.961, allocations: 0.5818 MB / 1.147 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00149/1.962, allocations: 285.6 kB / 1.148 GB, free: 3.121 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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.003603/1.966, allocations: 0.5027 MB / 1.148 GB, free: 2.691 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005912/1.972, allocations: 0.8451 MB / 1.149 GB, free: 1.836 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02348/1.995, allocations: 8.929 MB / 1.158 GB, free: 9.066 MB / 0.8107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01273/2.008, allocations: 6.106 MB / 1.164 GB, free: 2.883 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001486/2.008, allocations: 23.97 kB / 1.164 GB, free: 2.859 MB / 0.8107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007441/2.015, allocations: 2.242 MB / 1.166 GB, free: 0.5859 MB / 0.8107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003833/2.019, allocations: 124 kB / 1.166 GB, free: 476 kB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008322/2.028, allocations: 331 kB / 1.166 GB, free: 148 kB / 0.8107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001937/2.03, allocations: 0.6008 MB / 1.167 GB, free: 15.54 MB / 0.8263 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01916/2.049, allocations: 7.475 MB / 1.174 GB, free: 8.078 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02604/2.075, allocations: 12.1 MB / 1.186 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00658/2.082, allocations: 3.497 MB / 1.189 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.01872/2.1, allocations: 7.413 MB / 1.197 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of Backend: time 1.513e-06/2.1, allocations: 0 / 1.197 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.03237/2.133, allocations: 9.43 MB / 1.206 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of SimCode: time 0.06558/2.198, allocations: 25.56 MB / 1.231 GB, free: 14.12 MB / 0.8888 GB Notification: Performance of Templates: time 0.672/2.87, allocations: 213 MB / 1.439 GB, free: 280.4 MB / 0.9513 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe 2>&1)