Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.391/2.391, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001354/0.001353, allocations: 171.2 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.373/2.373, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009443/0.0009439, allocations: 95.53 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004729, allocations: 11.72 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2026, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.05131/0.2539, allocations: 41.21 MB / 0.9397 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02011/0.2741, allocations: 12.16 MB / 0.9516 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.276, allocations: 35.75 kB / 0.9516 GB, free: 12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002126/0.2782, allocations: 405.3 kB / 0.952 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005945/0.2842, allocations: 1.553 MB / 0.9535 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004179/0.2884, allocations: 0.9255 MB / 0.9544 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005502/0.2939, allocations: 3.67 MB / 0.958 GB, free: 5.445 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.2959, allocations: 0.7853 MB / 0.9588 GB, free: 4.652 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003253/0.2992, allocations: 1.069 MB / 0.9598 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.3013, allocations: 0.8517 MB / 0.9607 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003534/0.3017, allocations: 48 kB / 0.9607 GB, free: 2.676 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.3056, allocations: 1.119 MB / 0.9618 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004999/0.3061, allocations: 207 kB / 0.962 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000549/0.3067, allocations: 269.1 kB / 0.9623 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003643/0.3103, allocations: 1.738 MB / 0.964 GB, free: 15.34 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3104, allocations: 4 kB / 0.964 GB, free: 15.34 MB / 0.6199 GB Notification: Performance of FrontEnd: time 3.046e-06/0.3104, allocations: 4 kB / 0.964 GB, free: 15.33 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 4.852e-05/0.3105, allocations: 0 / 0.964 GB, free: 15.33 MB / 0.6199 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.005048/0.3155, allocations: 1.453 MB / 0.9654 GB, free: 13.82 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.3156, allocations: 12.03 kB / 0.9654 GB, free: 13.81 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006991/0.3163, allocations: 131.4 kB / 0.9655 GB, free: 13.68 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004446/0.3208, allocations: 1.16 MB / 0.9667 GB, free: 12.48 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.429e-05/0.3209, allocations: 50 kB / 0.9667 GB, free: 12.43 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/0.3212, allocations: 72 kB / 0.9668 GB, free: 12.36 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/0.3235, allocations: 0.7637 MB / 0.9675 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.3236, allocations: 3.906 kB / 0.9675 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.3237, allocations: 28 kB / 0.9676 GB, free: 11.54 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/0.3238, allocations: 16 kB / 0.9676 GB, free: 11.53 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.3258, allocations: 0.575 MB / 0.9681 GB, free: 10.95 MB / 0.6199 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.00919/0.335, allocations: 4.006 MB / 0.972 GB, free: 6.613 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.3368, allocations: 472.1 kB / 0.9725 GB, free: 6.145 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007398/0.3376, allocations: 226.5 kB / 0.9727 GB, free: 5.922 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002038/0.3397, allocations: 1.523 MB / 0.9742 GB, free: 4.066 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.41e-05/0.3398, allocations: 42.56 kB / 0.9742 GB, free: 4.016 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=46): time 4.649e-06/0.3398, allocations: 0 / 0.9742 GB, free: 4.016 MB / 0.6199 GB Notification: Performance of matching and sorting (n=46): time 0.002565/0.3424, allocations: 0.6746 MB / 0.9749 GB, free: 3.336 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.3425, allocations: 59.41 kB / 0.975 GB, free: 3.266 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.345, allocations: 1.006 MB / 0.9759 GB, free: 2.242 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/0.3452, allocations: 33.7 kB / 0.976 GB, free: 2.203 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/0.3458, allocations: 480.6 kB / 0.9764 GB, free: 1.73 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.3461, allocations: 169.6 kB / 0.9766 GB, free: 1.562 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.3462, allocations: 8 kB / 0.9766 GB, free: 1.555 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3464, allocations: 322 kB / 0.9769 GB, free: 1.234 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006905/0.3471, allocations: 189 kB / 0.9771 GB, free: 1.051 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008136/0.3479, allocations: 324.5 kB / 0.9774 GB, free: 0.6797 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.3487, allocations: 236.7 kB / 0.9776 GB, free: 464 kB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.3487, allocations: 7.938 kB / 0.9776 GB, free: 456 kB / 0.6199 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002254/0.351, allocations: 0.6473 MB / 0.9783 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.3512, allocations: 195 kB / 0.9784 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.515e-05/0.3513, allocations: 8 kB / 0.9785 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.3513, allocations: 4 kB / 0.9785 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009215/0.3522, allocations: 131.8 kB / 0.9786 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.622e-05/0.3523, allocations: 8 kB / 0.9786 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.3537, allocations: 95.23 kB / 0.9787 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.3539, allocations: 27.98 kB / 0.9787 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3539, allocations: 4 kB / 0.9787 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001798/0.3557, allocations: 0.5293 MB / 0.9792 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/0.3558, allocations: 8 kB / 0.9792 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3558, allocations: 4 kB / 0.9792 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009002/0.3567, allocations: 128.2 kB / 0.9794 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.3568, allocations: 11.94 kB / 0.9794 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.3581, allocations: 95.17 kB / 0.9795 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.3583, allocations: 32 kB / 0.9795 GB, free: 14.47 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007457/0.3591, allocations: 340.9 kB / 0.9798 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/0.3594, allocations: 106.7 kB / 0.9799 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003083/0.3625, allocations: 0.972 MB / 0.9809 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001916/0.3645, allocations: 0.8493 MB / 0.9817 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/0.3646, allocations: 3.938 kB / 0.9817 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009249/0.3655, allocations: 303.3 kB / 0.982 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/0.3658, allocations: 12 kB / 0.982 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.367, allocations: 51.83 kB / 0.9821 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.3672, allocations: 48.5 kB / 0.9821 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002697/0.3699, allocations: 0.8048 MB / 0.9829 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003469/0.3734, allocations: 1.281 MB / 0.9841 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009087/0.3744, allocations: 328.5 kB / 0.9844 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001907/0.3763, allocations: 0.6947 MB / 0.9851 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of Backend: time 1.363e-06/0.3764, allocations: 4 kB / 0.9851 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004715/0.3811, allocations: 1.228 MB / 0.9863 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of SimCode: time 0.008958/0.3901, allocations: 3.174 MB / 0.9894 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of Templates: time 0.07701/0.4672, allocations: 26.2 MB / 1.015 GB, free: 10.11 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)