Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001289/0.001289, allocations: 112.2 kB / 17.09 MB, free: 5.949 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.001351/0.001351, allocations: 194.8 kB / 18.02 MB, free: 5.035 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.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6854/0.6854, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 70.77 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.145, allocations: 76.19 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.06265/0.2077, allocations: 66.51 MB / 0.6977 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02173/0.2295, allocations: 16.76 MB / 0.7141 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/0.232, allocations: 63.62 kB / 0.7141 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.2344, allocations: 0.8153 MB / 0.7149 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006824/0.2412, allocations: 2.546 MB / 0.7174 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004695/0.2459, allocations: 1.813 MB / 0.7192 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3768/0.6227, allocations: 35.8 MB / 0.7541 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02337/0.6461, allocations: 15.78 MB / 0.7696 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02355/0.6697, allocations: 11.97 MB / 0.7812 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01474/0.6845, allocations: 9.704 MB / 0.7907 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003738/0.6883, allocations: 1.454 MB / 0.7921 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/0.6985, allocations: 3.174 MB / 0.7952 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005598/0.7042, allocations: 3.289 MB / 0.7984 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01573/0.7199, allocations: 7.314 MB / 0.8056 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02862/0.7486, allocations: 21.97 MB / 0.827 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.7486, allocations: 0 / 0.827 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7486, allocations: 0 / 0.827 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0005958/0.7492, allocations: 0 / 0.827 GB, free: 3.078 MB / 0.5919 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.03512/0.7844, allocations: 13.14 MB / 0.8399 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/0.7845, allocations: 8.031 kB / 0.8399 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007066/0.7915, allocations: 1.281 MB / 0.8411 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02904/0.8206, allocations: 12.97 MB / 0.8538 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006372/0.8213, allocations: 0.5215 MB / 0.8543 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003412/0.8247, allocations: 0.7211 MB / 0.855 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02903/0.8538, allocations: 11.21 MB / 0.866 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003749/0.8542, allocations: 21.72 kB / 0.866 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00221/0.8564, allocations: 303.8 kB / 0.8663 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002665/0.8567, allocations: 223.8 kB / 0.8665 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.021/0.8777, allocations: 9.246 MB / 0.8755 GB, free: 1.668 MB / 0.6387 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.08769/0.9654, allocations: 52.13 MB / 0.9264 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009095/0.9746, allocations: 4.861 MB / 0.9312 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004929/0.9795, allocations: 2.829 MB / 0.9339 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001933/0.9815, allocations: 1.713 MB / 0.9356 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.9816, allocations: 88.89 kB / 0.9357 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=420): time 1.204e-05/0.9817, allocations: 0 / 0.9357 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of matching and sorting (n=420): time 0.01898/1.001, allocations: 7.812 MB / 0.9433 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/1.001, allocations: 94.55 kB / 0.9434 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02591/1.027, allocations: 10.47 MB / 0.9536 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/1.028, allocations: 109.7 kB / 0.9537 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.006786/1.035, allocations: 4.719 MB / 0.9584 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003061/1.038, allocations: 1.487 MB / 0.9598 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003659/1.042, allocations: 1.099 MB / 0.9609 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.042, allocations: 309.1 kB / 0.9612 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004855/1.047, allocations: 2.676 MB / 0.9638 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006176/1.053, allocations: 4.195 MB / 0.9679 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/1.064, allocations: 7.41 MB / 0.9751 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-05/1.065, allocations: 16 kB / 0.9751 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01688/1.081, allocations: 7.986 MB / 0.9829 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.324e-05/1.082, allocations: 24.19 kB / 0.983 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00017/1.082, allocations: 83.91 kB / 0.983 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.545e-05/1.082, allocations: 74.62 kB / 0.9831 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004132/1.086, allocations: 1.202 MB / 0.9843 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001441/1.086, allocations: 102.3 kB / 0.9844 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007624/1.094, allocations: 0.696 MB / 0.9851 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009646/1.095, allocations: 283.9 kB / 0.9853 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01354/1.108, allocations: 6.432 MB / 0.9916 GB, free: 7.031 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005973/1.114, allocations: 4.195 MB / 0.9957 GB, free: 2.199 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01096/1.125, allocations: 7.409 MB / 1.003 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.612e-05/1.125, allocations: 18.62 kB / 1.003 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01555/1.141, allocations: 7.984 MB / 1.011 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/1.141, allocations: 28.25 kB / 1.011 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001582/1.141, allocations: 67.98 kB / 1.011 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-05/1.141, allocations: 79.98 kB / 1.011 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003999/1.145, allocations: 1.198 MB / 1.012 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001408/1.145, allocations: 108.3 kB / 1.012 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007058/1.152, allocations: 0.578 MB / 1.013 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008161/1.153, allocations: 287.8 kB / 1.013 GB, free: 344 kB / 0.7794 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.001816/1.155, allocations: 0.5045 MB / 1.014 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003384/1.158, allocations: 0.8411 MB / 1.014 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01763/1.176, allocations: 8.91 MB / 1.023 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00935/1.186, allocations: 6.111 MB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-05/1.186, allocations: 23.98 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005728/1.191, allocations: 2.234 MB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00278/1.194, allocations: 128 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006652/1.201, allocations: 328.3 kB / 1.032 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001232/1.202, allocations: 0.6008 MB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01333/1.215, allocations: 7.481 MB / 1.04 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.656/1.872, allocations: 12.09 MB / 1.051 GB, free: 301.2 MB / 0.8107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005217/1.877, allocations: 3.49 MB / 1.055 GB, free: 299.9 MB / 0.8107 GB Notification: Performance of sorting global known variables: time 0.01452/1.891, allocations: 7.415 MB / 1.062 GB, free: 297.4 MB / 0.8107 GB Notification: Performance of Backend: time 6.81e-07/1.891, allocations: 1.969 kB / 1.062 GB, free: 297.4 MB / 0.8107 GB Notification: Performance of simCode: created initialization part: time 0.01773/1.909, allocations: 9.441 MB / 1.071 GB, free: 293.5 MB / 0.8107 GB Notification: Performance of SimCode: time 0.04429/1.953, allocations: 25.56 MB / 1.096 GB, free: 282.4 MB / 0.8107 GB Notification: Performance of Templates: time 0.261/2.214, allocations: 212.9 MB / 1.304 GB, free: 73.07 MB / 0.8107 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe 2>&1)