Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 109.2 kB / 17.09 MB, free: 5.828 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.001146/0.001146, allocations: 194.7 kB / 18.02 MB, free: 4.961 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.198/1.198, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6496/0.6496, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 73.38 kB / 0.5584 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1123, allocations: 76.18 MB / 0.6328 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.538/0.6504, allocations: 305.1 MB / 0.9307 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03118/0.6816, allocations: 25.82 MB / 0.9559 GB, free: 1.141 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00339/0.6851, allocations: 131.2 kB / 0.9561 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003729/0.6888, allocations: 1.794 MB / 0.9578 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01212/0.701, allocations: 5.963 MB / 0.9636 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005459/0.7064, allocations: 2.637 MB / 0.9662 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009373/0.7158, allocations: 8.915 MB / 0.9749 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003838/0.7197, allocations: 3.618 MB / 0.9784 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008313/0.728, allocations: 4.213 MB / 0.9826 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003607/0.7316, allocations: 2.96 MB / 0.9854 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004985/0.7321, allocations: 360 kB / 0.9858 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007643/0.7398, allocations: 4.603 MB / 0.9903 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.7411, allocations: 1.648 MB / 0.9919 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.743, allocations: 2.131 MB / 0.994 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007622/0.7507, allocations: 6.746 MB / 1.001 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7507, allocations: 0 / 1.001 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7507, allocations: 0 / 1.001 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.511e-05/0.7507, allocations: 0 / 1.001 GB, free: 3.305 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.005666/0.7564, allocations: 4.169 MB / 1.005 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.7565, allocations: 8.031 kB / 1.005 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00507/0.7615, allocations: 0.94 MB / 1.006 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.7649, allocations: 2.4 MB / 1.008 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.7652, allocations: 281.2 kB / 1.008 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003552/0.7655, allocations: 284 kB / 1.008 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004794/0.7703, allocations: 3.359 MB / 1.012 GB, free: 7.625 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/0.7704, allocations: 3.906 kB / 1.012 GB, free: 7.621 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/0.7706, allocations: 116 kB / 1.012 GB, free: 7.508 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.509e-05/0.7707, allocations: 121.2 kB / 1.012 GB, free: 7.387 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003916/0.7747, allocations: 2.796 MB / 1.015 GB, free: 4.578 MB / 0.7637 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.0126/0.7873, allocations: 13.26 MB / 1.028 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.7896, allocations: 1.673 MB / 1.029 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.791, allocations: 1.11 MB / 1.03 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004232/0.7914, allocations: 325.2 kB / 1.031 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.7914, allocations: 60.5 kB / 1.031 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=182): time 3.457e-06/0.7914, allocations: 0 / 1.031 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of matching and sorting (n=182): time 0.0043/0.7957, allocations: 2.738 MB / 1.033 GB, free: 164 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.7958, allocations: 69.41 kB / 1.033 GB, free: 80 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.798, allocations: 1.994 MB / 1.035 GB, free: 14.06 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.7981, allocations: 77.69 kB / 1.035 GB, free: 13.98 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009633/0.7991, allocations: 1.41 MB / 1.037 GB, free: 12.56 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005178/0.7996, allocations: 0.6314 MB / 1.037 GB, free: 11.92 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005053/0.8001, allocations: 387.3 kB / 1.038 GB, free: 11.53 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.8002, allocations: 301.1 kB / 1.038 GB, free: 11.23 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.8014, allocations: 0.813 MB / 1.039 GB, free: 10.41 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.803, allocations: 1.414 MB / 1.04 GB, free: 8.746 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/0.8058, allocations: 2.256 MB / 1.043 GB, free: 6.309 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.8058, allocations: 4 kB / 1.043 GB, free: 6.305 MB / 0.795 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003432/0.8092, allocations: 2.497 MB / 1.045 GB, free: 3.797 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.8093, allocations: 12 kB / 1.045 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.8093, allocations: 12 kB / 1.045 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.69e-05/0.8093, allocations: 24.75 kB / 1.045 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/0.8117, allocations: 0.5655 MB / 1.046 GB, free: 3.184 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2618/1.074, allocations: 4.146 MB / 1.05 GB, free: 320 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/1.076, allocations: 215.9 kB / 1.05 GB, free: 320 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/1.077, allocations: 87.75 kB / 1.05 GB, free: 320 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002355/1.079, allocations: 1.469 MB / 1.051 GB, free: 319.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001402/1.08, allocations: 1.398 MB / 1.053 GB, free: 319.2 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002545/1.083, allocations: 2.241 MB / 1.055 GB, free: 318.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.807e-06/1.083, allocations: 4.312 kB / 1.055 GB, free: 318.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.003527/1.086, allocations: 2.483 MB / 1.057 GB, free: 317.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.086, allocations: 13.41 kB / 1.057 GB, free: 317.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.086, allocations: 13.55 kB / 1.057 GB, free: 317.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.087, allocations: 25.47 kB / 1.057 GB, free: 317.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/1.088, allocations: 471 kB / 1.058 GB, free: 317.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.687e-05/1.088, allocations: 32.36 kB / 1.058 GB, free: 317.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/1.09, allocations: 192.6 kB / 1.058 GB, free: 317.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/1.09, allocations: 86.91 kB / 1.058 GB, free: 317.5 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * 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): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003937/1.091, allocations: 316.2 kB / 1.058 GB, free: 317.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/1.091, allocations: 273.2 kB / 1.059 GB, free: 317.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/1.094, allocations: 2.094 MB / 1.061 GB, free: 316.4 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002452/1.097, allocations: 1.888 MB / 1.063 GB, free: 315.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.097, allocations: 4.75 kB / 1.063 GB, free: 315.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007541/1.098, allocations: 0.5632 MB / 1.063 GB, free: 315.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002875/1.098, allocations: 41.27 kB / 1.063 GB, free: 315.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/1.1, allocations: 82.86 kB / 1.063 GB, free: 315.2 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/1.1, allocations: 102.2 kB / 1.063 GB, free: 315.2 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004177/1.104, allocations: 2.351 MB / 1.066 GB, free: 314.3 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003739/1.108, allocations: 3.31 MB / 1.069 GB, free: 312.9 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000989/1.109, allocations: 0.9161 MB / 1.07 GB, free: 312.6 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001243/1.11, allocations: 1.341 MB / 1.071 GB, free: 312.1 MB / 0.795 GB Notification: Performance of Backend: time 3.11e-07/1.11, allocations: 2.25 kB / 1.071 GB, free: 312.1 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005834/1.116, allocations: 3.546 MB / 1.075 GB, free: 311.1 MB / 0.795 GB Notification: Performance of SimCode: time 0.009127/1.125, allocations: 7.433 MB / 1.082 GB, free: 307.5 MB / 0.795 GB Notification: Performance of Templates: time 0.0727/1.198, allocations: 69.24 MB / 1.149 GB, free: 241.4 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)