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.001338/0.001338, allocations: 101.7 kB / 16.94 MB, free: 5.801 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.001285/0.001285, allocations: 185.3 kB / 17.86 MB, free: 5.18 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.422/1.422, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8112/0.8112, allocations: 125.4 MB / 417.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.88 kB / 0.4948 GB, free: 4.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3948, allocations: 78.55 MB / 0.5715 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7067/1.102, allocations: 305.3 MB / 0.8696 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0404/1.142, allocations: 25.85 MB / 0.8949 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006127/1.148, allocations: 126.6 kB / 0.895 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006179/1.154, allocations: 1.802 MB / 0.8968 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0181/1.173, allocations: 5.95 MB / 0.9026 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008055/1.181, allocations: 2.597 MB / 0.9051 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01545/1.196, allocations: 8.887 MB / 0.9138 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006483/1.203, allocations: 3.624 MB / 0.9173 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01534/1.218, allocations: 4.625 MB / 0.9218 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006804/1.225, allocations: 2.906 MB / 0.9247 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001424/1.226, allocations: 360 kB / 0.925 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/1.239, allocations: 4.576 MB / 0.9295 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003298/1.242, allocations: 1.637 MB / 0.9311 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005318/1.248, allocations: 2.139 MB / 0.9332 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0158/1.263, allocations: 6.673 MB / 0.9397 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/1.263, allocations: 0 / 0.9397 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/1.264, allocations: 0 / 0.9397 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002071/1.264, allocations: 4 kB / 0.9397 GB, free: 8.57 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: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.009503/1.273, allocations: 4.172 MB / 0.9438 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.273, allocations: 8.031 kB / 0.9438 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005906/1.279, allocations: 0.9438 MB / 0.9447 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005393/1.285, allocations: 2.267 MB / 0.9469 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003054/1.285, allocations: 269.3 kB / 0.9472 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006739/1.286, allocations: 287.9 kB / 0.9474 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006546/1.292, allocations: 3.371 MB / 0.9507 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.33e-05/1.292, allocations: 3.938 kB / 0.9507 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002965/1.293, allocations: 116 kB / 0.9509 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/1.293, allocations: 101.3 kB / 0.951 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005405/1.298, allocations: 2.808 MB / 0.9537 GB, free: 9.973 MB / 0.67 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.02006/1.318, allocations: 13.73 MB / 0.9671 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/1.321, allocations: 1.688 MB / 0.9687 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/1.323, allocations: 1.11 MB / 0.9698 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005301/1.323, allocations: 329.2 kB / 0.9701 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.417e-05/1.323, allocations: 56.56 kB / 0.9702 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=182): time 3.406e-06/1.323, allocations: 0 / 0.9702 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of matching and sorting (n=182): time 0.005549/1.329, allocations: 2.731 MB / 0.9729 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/1.329, allocations: 73.41 kB / 0.9729 GB, free: 4.898 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/1.332, allocations: 1.998 MB / 0.9749 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003128/1.333, allocations: 69.7 kB / 0.975 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/1.334, allocations: 1.406 MB / 0.9763 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008482/1.335, allocations: 0.6314 MB / 0.9769 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006106/1.335, allocations: 395.2 kB / 0.9773 GB, free: 360 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.335, allocations: 305.1 kB / 0.9776 GB, free: 52 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/1.337, allocations: 0.813 MB / 0.9784 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/1.339, allocations: 1.41 MB / 0.9798 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003305/1.342, allocations: 2.256 MB / 0.982 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.342, allocations: 4 kB / 0.982 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004536/1.347, allocations: 2.494 MB / 0.9844 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/1.347, allocations: 16.25 kB / 0.9844 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/1.347, allocations: 15.94 kB / 0.9845 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-05/1.347, allocations: 24 kB / 0.9845 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/1.349, allocations: 0.5539 MB / 0.985 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/1.352, allocations: 4.165 MB / 0.9891 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/1.355, allocations: 214 kB / 0.9893 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/1.355, allocations: 87.98 kB / 0.9894 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002654/1.358, allocations: 1.465 MB / 0.9908 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001883/1.36, allocations: 1.399 MB / 0.9922 GB, free: 264 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003308/1.363, allocations: 2.236 MB / 0.9944 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.476e-06/1.363, allocations: 4 kB / 0.9944 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004458/1.367, allocations: 2.478 MB / 0.9968 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/1.367, allocations: 16.94 kB / 0.9968 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/1.368, allocations: 12 kB / 0.9968 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/1.368, allocations: 28 kB / 0.9968 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/1.369, allocations: 475.3 kB / 0.9973 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.479e-05/1.369, allocations: 31.88 kB / 0.9973 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/1.372, allocations: 186.5 kB / 0.9975 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/1.372, allocations: 91.98 kB / 0.9976 GB, free: 10.52 MB / 0.7169 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.0005542/1.373, allocations: 307.6 kB / 0.9979 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006232/1.373, allocations: 272.8 kB / 0.9981 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003725/1.377, allocations: 2.111 MB / 1 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/1.377, allocations: 20 kB / 1 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.377, allocations: 0 / 1 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002793/1.38, allocations: 1.886 MB / 1.002 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008905/1.389, allocations: 5.169 MB / 1.007 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.389, allocations: 4.375 kB / 1.007 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/1.391, allocations: 0.4994 MB / 1.008 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.939e-05/1.391, allocations: 12 kB / 1.008 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/1.391, allocations: 59.84 kB / 1.008 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/1.394, allocations: 4.122 MB / 1.012 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.394, allocations: 4.031 kB / 1.012 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00515/1.399, allocations: 3.223 MB / 1.015 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/1.4, allocations: 0.5599 MB / 1.015 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003469/1.401, allocations: 51.98 kB / 1.015 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/1.402, allocations: 73.62 kB / 1.016 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/1.403, allocations: 121.7 kB / 1.016 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/1.403, allocations: 79.95 kB / 1.016 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002036/1.405, allocations: 1.334 MB / 1.017 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.31e-07/1.405, allocations: 0 / 1.017 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004274/1.409, allocations: 1.729 MB / 1.019 GB, free: 4.477 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mC[1],vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mC[1],vol3.dynBal.medium.Xi[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mC[1],vol4.dynBal.medium.Xi[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 175 * 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 Backend phase and start with SimCode phase: time 0.0008203/1.41, allocations: 357.9 kB / 1.019 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009673/1.42, allocations: 4.638 MB / 1.024 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.42, allocations: 4 kB / 1.024 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/1.421, allocations: 1.022 MB / 1.025 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007676/1.429, allocations: 1.538 MB / 1.026 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.441, allocations: 6.81 MB / 1.033 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002154/1.443, allocations: 2.189 MB / 1.035 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.444, allocations: 227.4 kB / 1.035 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of SimCode: time 1.242e-06/1.444, allocations: 8 kB / 1.035 GB, free: 3.68 MB / 0.7481 GB Notification: Performance of Templates: time 0.4249/1.869, allocations: 140.4 MB / 1.172 GB, free: 211.5 MB / 0.7481 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)