Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.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.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 110 kB / 16.38 MB, free: 5.547 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.001271/0.001271, allocations: 190.7 kB / 17.31 MB, free: 5.188 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.689/1.689, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.964/1.964, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.002733/0.002733, allocations: 68.12 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2886, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.5583/0.847, allocations: 45.99 MB / 0.8297 GB, free: 19.79 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01991/0.8669, allocations: 11.38 MB / 0.8408 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003266/0.8702, allocations: 60.22 kB / 0.8409 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.8725, allocations: 0.6857 MB / 0.8415 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00816/0.8807, allocations: 2.18 MB / 0.8437 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004921/0.8856, allocations: 1.495 MB / 0.8451 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.03145/0.9171, allocations: 22.53 MB / 0.8671 GB, free: 14.46 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01682/0.9339, allocations: 9.349 MB / 0.8763 GB, free: 9.516 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02037/0.9544, allocations: 7.446 MB / 0.8835 GB, free: 5.422 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01431/0.9687, allocations: 6.131 MB / 0.8895 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003521/0.9723, allocations: 0.832 MB / 0.8903 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009613/0.9819, allocations: 2.029 MB / 0.8923 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004977/0.9869, allocations: 2.099 MB / 0.8944 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01301/1, allocations: 4.481 MB / 0.8987 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02215/1.022, allocations: 12.98 MB / 0.9114 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/1.022, allocations: 0 / 0.9114 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.813e-06/1.022, allocations: 0 / 0.9114 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004616/1.023, allocations: 0 / 0.9114 GB, free: 8.785 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.02511/1.048, allocations: 8.183 MB / 0.9194 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 7.059e-05/1.048, allocations: 8.031 kB / 0.9194 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00566/1.054, allocations: 0.847 MB / 0.9202 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01766/1.071, allocations: 7.642 MB / 0.9277 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004798/1.072, allocations: 415.9 kB / 0.9281 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001911/1.074, allocations: 0.5115 MB / 0.9286 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01679/1.091, allocations: 7.672 MB / 0.9361 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/1.091, allocations: 15.88 kB / 0.9361 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007277/1.091, allocations: 224 kB / 0.9363 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001937/1.092, allocations: 167.8 kB / 0.9365 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/1.105, allocations: 6.067 MB / 0.9424 GB, free: 8.555 MB / 0.7325 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.04955/1.154, allocations: 29.31 MB / 0.971 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005657/1.16, allocations: 3.413 MB / 0.9744 GB, free: 6.586 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003002/1.163, allocations: 1.952 MB / 0.9763 GB, free: 4.625 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/1.164, allocations: 0.9943 MB / 0.9772 GB, free: 3.426 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/1.164, allocations: 82.17 kB / 0.9773 GB, free: 3.34 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=253): time 7.954e-06/1.164, allocations: 0 / 0.9773 GB, free: 3.34 MB / 0.7637 GB Notification: Performance of matching and sorting (n=253): time 0.01024/1.175, allocations: 4.672 MB / 0.9819 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/1.175, allocations: 77.41 kB / 0.982 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01555/1.19, allocations: 6.307 MB / 0.9881 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0009882/1.191, allocations: 81.7 kB / 0.9882 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.004664/1.196, allocations: 2.933 MB / 0.9911 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.002197/1.198, allocations: 0.8974 MB / 0.9919 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002555/1.201, allocations: 0.679 MB / 0.9926 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.201, allocations: 301.1 kB / 0.9929 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/1.204, allocations: 1.653 MB / 0.9945 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004397/1.209, allocations: 2.683 MB / 0.9971 GB, free: 14.56 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007632/1.216, allocations: 4.59 MB / 1.002 GB, free: 9.504 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.31e-05/1.216, allocations: 8 kB / 1.002 GB, free: 9.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01328/1.23, allocations: 4.954 MB / 1.006 GB, free: 4.492 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.788e-05/1.23, allocations: 24.94 kB / 1.006 GB, free: 4.469 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.398e-05/1.23, allocations: 28 kB / 1.006 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000103/1.23, allocations: 56 kB / 1.007 GB, free: 4.387 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003578/1.234, allocations: 0.8084 MB / 1.007 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/1.235, allocations: 1.257 MB / 1.009 GB, free: 2.277 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006381/1.241, allocations: 0.5148 MB / 1.009 GB, free: 1.758 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007567/1.242, allocations: 160 kB / 1.009 GB, free: 1.602 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008456/1.251, allocations: 3.863 MB / 1.013 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004439/1.255, allocations: 2.678 MB / 1.016 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008392/1.264, allocations: 4.583 MB / 1.02 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.643e-05/1.264, allocations: 8 kB / 1.02 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=436) (initialization_lambda0): time 0.01373/1.277, allocations: 4.951 MB / 1.025 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.213e-05/1.278, allocations: 18.34 kB / 1.025 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.629e-05/1.278, allocations: 32 kB / 1.025 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.498e-05/1.278, allocations: 52 kB / 1.025 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/1.281, allocations: 0.7767 MB / 1.026 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-05/1.281, allocations: 75.66 kB / 1.026 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005798/1.287, allocations: 385.2 kB / 1.026 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005824/1.287, allocations: 156 kB / 1.026 GB, free: 15.07 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001407/1.289, allocations: 411.1 kB / 1.027 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002718/1.292, allocations: 0.5443 MB / 1.027 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008717/1.3, allocations: 3.889 MB / 1.031 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005279/1.306, allocations: 2.998 MB / 1.034 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.306, allocations: 0 / 1.034 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00432/1.31, allocations: 1.232 MB / 1.035 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002506/1.312, allocations: 59.98 kB / 1.035 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005539/1.318, allocations: 207.5 kB / 1.035 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/1.318, allocations: 153.8 kB / 1.036 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008596/1.327, allocations: 3.824 MB / 1.039 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01155/1.339, allocations: 6.215 MB / 1.045 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002711/1.341, allocations: 1.668 MB / 1.047 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.01065/1.352, allocations: 4.469 MB / 1.051 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of Backend: time 1.603e-06/1.352, allocations: 3.938 kB / 1.051 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01765/1.37, allocations: 5.261 MB / 1.057 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of SimCode: time 0.04535/1.415, allocations: 16.16 MB / 1.072 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.6392/2.054, allocations: 142.1 MB / 1.211 GB, free: 259 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)