Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 115.8 kB / 16.38 MB, free: 6.016 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.001188/0.001188, allocations: 189.1 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.879/1.879, allocations: 292.3 MB / 0.5496 GB, free: 17.42 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 68.69 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2857, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.5523/0.838, allocations: 44.69 MB / 0.8284 GB, free: 20.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0197/0.8577, allocations: 13 MB / 0.8411 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003248/0.861, allocations: 47.06 kB / 0.8412 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.8635, allocations: 0.5956 MB / 0.8418 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008229/0.8717, allocations: 1.965 MB / 0.8437 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0051/0.8768, allocations: 1.324 MB / 0.845 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006323/0.8832, allocations: 3.273 MB / 0.8482 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.8853, allocations: 1.067 MB / 0.8492 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003938/0.8893, allocations: 1.363 MB / 0.8505 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001847/0.8911, allocations: 0.9464 MB / 0.8515 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002307/0.8914, allocations: 131.5 kB / 0.8516 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004653/0.896, allocations: 1.566 MB / 0.8531 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003755/0.8964, allocations: 310.4 kB / 0.8534 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.8976, allocations: 0.6872 MB / 0.8541 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007913/0.9056, allocations: 2.455 MB / 0.8565 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.9056, allocations: 1.922 kB / 0.8565 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.226e-06/0.9056, allocations: 0 / 0.8565 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.556e-05/0.9056, allocations: 0 / 0.8565 GB, free: 3.816 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004162/0.9098, allocations: 1.673 MB / 0.8581 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.9099, allocations: 10.88 kB / 0.8581 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/0.9103, allocations: 132.6 kB / 0.8582 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.9129, allocations: 1.226 MB / 0.8594 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/0.913, allocations: 53.75 kB / 0.8595 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.9131, allocations: 70.88 kB / 0.8596 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.9145, allocations: 0.757 MB / 0.8603 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.9146, allocations: 0 / 0.8603 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/0.9146, allocations: 26.62 kB / 0.8603 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.9147, allocations: 24.88 kB / 0.8604 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.9158, allocations: 0.5676 MB / 0.8609 GB, free: 1.289 MB / 0.6544 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.005536/0.9213, allocations: 3.995 MB / 0.8648 GB, free: 13.93 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.9224, allocations: 463.6 kB / 0.8653 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/0.9228, allocations: 219.8 kB / 0.8655 GB, free: 13.58 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/0.9242, allocations: 1.513 MB / 0.8669 GB, free: 11.82 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.9242, allocations: 38.44 kB / 0.867 GB, free: 11.78 MB / 0.67 GB Notification: Performance of pre-optimization done (n=46): time 2.896e-06/0.9242, allocations: 3.469 kB / 0.867 GB, free: 11.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=46): time 0.001648/0.9259, allocations: 0.6668 MB / 0.8676 GB, free: 11.44 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.9259, allocations: 55.16 kB / 0.8677 GB, free: 11.38 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.9276, allocations: 1.013 MB / 0.8687 GB, free: 10.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.425e-05/0.9276, allocations: 35.86 kB / 0.8687 GB, free: 10.77 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.928, allocations: 486.7 kB / 0.8692 GB, free: 10.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.9282, allocations: 164.6 kB / 0.8693 GB, free: 10.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.9284, allocations: 119.8 kB / 0.8694 GB, free: 10.12 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.9286, allocations: 327.7 kB / 0.8698 GB, free: 9.801 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.929, allocations: 195.8 kB / 0.8699 GB, free: 9.699 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/0.9295, allocations: 315.9 kB / 0.8702 GB, free: 9.449 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000893/0.9304, allocations: 0.5088 MB / 0.8707 GB, free: 9.105 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.9304, allocations: 1.156 kB / 0.8707 GB, free: 9.105 MB / 0.67 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001317/0.9317, allocations: 0.6452 MB / 0.8714 GB, free: 8.773 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.9318, allocations: 11.88 kB / 0.8714 GB, free: 8.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.9318, allocations: 5.188 kB / 0.8714 GB, free: 8.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.9318, allocations: 10.84 kB / 0.8714 GB, free: 8.766 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.9323, allocations: 125 kB / 0.8715 GB, free: 8.734 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.9323, allocations: 9.438 kB / 0.8715 GB, free: 8.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007737/0.9331, allocations: 77.72 kB / 0.8716 GB, free: 8.676 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/0.9332, allocations: 32.23 kB / 0.8716 GB, free: 8.668 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006765/0.9339, allocations: 402.6 kB / 0.872 GB, free: 8.414 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004883/0.9344, allocations: 312.2 kB / 0.8723 GB, free: 8.172 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008747/0.9352, allocations: 0.5153 MB / 0.8728 GB, free: 7.816 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/0.9352, allocations: 1.312 kB / 0.8728 GB, free: 7.816 MB / 0.67 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.00132/0.9366, allocations: 0.6355 MB / 0.8734 GB, free: 7.492 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.9366, allocations: 11.28 kB / 0.8734 GB, free: 7.488 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.9366, allocations: 9.359 kB / 0.8735 GB, free: 7.484 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.9366, allocations: 5.344 kB / 0.8735 GB, free: 7.484 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.9371, allocations: 124.7 kB / 0.8736 GB, free: 7.453 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.9371, allocations: 5.438 kB / 0.8736 GB, free: 7.453 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.9378, allocations: 57.53 kB / 0.8736 GB, free: 7.414 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.085e-05/0.9379, allocations: 40.55 kB / 0.8737 GB, free: 7.398 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001994/0.9381, allocations: 211.2 kB / 0.8739 GB, free: 7.191 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.9383, allocations: 106.8 kB / 0.874 GB, free: 7.137 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.9402, allocations: 0.9688 MB / 0.8749 GB, free: 6.617 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00119/0.9414, allocations: 0.8435 MB / 0.8758 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.9414, allocations: 3.594 kB / 0.8758 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/0.9418, allocations: 279.3 kB / 0.876 GB, free: 5.754 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.942, allocations: 11.88 kB / 0.876 GB, free: 5.746 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004668/0.9425, allocations: 25.34 kB / 0.8761 GB, free: 5.734 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.9426, allocations: 51.73 kB / 0.8761 GB, free: 5.707 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001569/0.9442, allocations: 0.7943 MB / 0.8769 GB, free: 5.246 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002044/0.9462, allocations: 1.262 MB / 0.8781 GB, free: 4.492 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005414/0.9468, allocations: 329.3 kB / 0.8784 GB, free: 4.312 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001138/0.9479, allocations: 0.7192 MB / 0.8791 GB, free: 3.895 MB / 0.67 GB Notification: Performance of Backend: time 7.41e-07/0.948, allocations: 0 / 0.8791 GB, free: 3.895 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003496/0.9515, allocations: 1.232 MB / 0.8803 GB, free: 3.238 MB / 0.67 GB Notification: Performance of SimCode: time 0.00477/0.9562, allocations: 2.8 MB / 0.8831 GB, free: 1.371 MB / 0.67 GB Notification: Performance of Templates: time 0.04775/1.004, allocations: 28.26 MB / 0.9107 GB, free: 8.82 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)