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.001262/0.001262, allocations: 107.6 kB / 16.52 MB, free: 6.703 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.001249/0.001249, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7299/0.7299, allocations: 115.3 MB / 406.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 64.09 kB / 493.5 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4137, allocations: 76.18 MB / 0.5564 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6745/1.088, allocations: 302.9 MB / 0.8522 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03512/1.123, allocations: 26.01 MB / 0.8776 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006504/1.13, allocations: 116.4 kB / 0.8777 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.006003/1.136, allocations: 1.549 MB / 0.8792 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01943/1.156, allocations: 5.629 MB / 0.8847 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007733/1.163, allocations: 2.373 MB / 0.887 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01544/1.179, allocations: 12.41 MB / 0.8992 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005238/1.184, allocations: 3.084 MB / 0.9022 GB, free: 1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01298/1.197, allocations: 3.669 MB / 0.9058 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006982/1.204, allocations: 3.087 MB / 0.9088 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001248/1.205, allocations: 192 kB / 0.9089 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01227/1.218, allocations: 5.324 MB / 0.9141 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002714/1.22, allocations: 1.493 MB / 0.9156 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004168/1.225, allocations: 1.951 MB / 0.9175 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007773/1.232, allocations: 5.056 MB / 0.9224 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.232, allocations: 0 / 0.9224 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.054e-06/1.232, allocations: 0 / 0.9224 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001663/1.233, allocations: 4 kB / 0.9225 GB, free: 13.56 MB / 0.6387 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.00791/1.24, allocations: 4.171 MB / 0.9265 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.241, allocations: 11.97 kB / 0.9265 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005859/1.246, allocations: 0.9403 MB / 0.9275 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004567/1.251, allocations: 2.253 MB / 0.9297 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/1.251, allocations: 279.8 kB / 0.9299 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004481/1.252, allocations: 287.9 kB / 0.9302 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005646/1.257, allocations: 3.361 MB / 0.9335 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-05/1.257, allocations: 7.875 kB / 0.9335 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002631/1.258, allocations: 116 kB / 0.9336 GB, free: 2 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/1.258, allocations: 105.3 kB / 0.9337 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004465/1.262, allocations: 2.8 MB / 0.9364 GB, free: 15.08 MB / 0.6544 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.01703/1.279, allocations: 13.23 MB / 0.9493 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/1.282, allocations: 1.692 MB / 0.951 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/1.283, allocations: 1.11 MB / 0.9521 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004746/1.284, allocations: 325.8 kB / 0.9524 GB, free: 13.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/1.284, allocations: 56.56 kB / 0.9524 GB, free: 13.55 MB / 0.67 GB Notification: Performance of pre-optimization done (n=182): time 3.546e-06/1.284, allocations: 0 / 0.9524 GB, free: 13.55 MB / 0.67 GB Notification: Performance of matching and sorting (n=182): time 0.005037/1.289, allocations: 2.735 MB / 0.9551 GB, free: 10.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/1.289, allocations: 69.41 kB / 0.9552 GB, free: 10.74 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/1.292, allocations: 1.998 MB / 0.9571 GB, free: 8.723 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002608/1.292, allocations: 69.7 kB / 0.9572 GB, free: 8.648 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009763/1.293, allocations: 1.414 MB / 0.9586 GB, free: 7.223 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006778/1.294, allocations: 0.6382 MB / 0.9592 GB, free: 6.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005376/1.294, allocations: 387.3 kB / 0.9596 GB, free: 6.203 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.295, allocations: 309.1 kB / 0.9599 GB, free: 5.898 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/1.296, allocations: 0.8052 MB / 0.9607 GB, free: 5.082 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/1.297, allocations: 1.41 MB / 0.962 GB, free: 3.418 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/1.3, allocations: 2.252 MB / 0.9642 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/1.3, allocations: 4 kB / 0.9642 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004168/1.305, allocations: 2.504 MB / 0.9667 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/1.305, allocations: 12 kB / 0.9667 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/1.305, allocations: 12 kB / 0.9667 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/1.305, allocations: 24 kB / 0.9667 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/1.307, allocations: 0.5596 MB / 0.9673 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/1.309, allocations: 4.161 MB / 0.9713 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003678/1.313, allocations: 397.8 kB / 0.9717 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/1.313, allocations: 91.98 kB / 0.9718 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002622/1.316, allocations: 1.465 MB / 0.9732 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001658/1.318, allocations: 1.402 MB / 0.9746 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002922/1.321, allocations: 2.236 MB / 0.9768 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.676e-06/1.321, allocations: 4 kB / 0.9768 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004099/1.325, allocations: 2.49 MB / 0.9792 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/1.325, allocations: 10.81 kB / 0.9792 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/1.325, allocations: 16 kB / 0.9792 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/1.325, allocations: 24 kB / 0.9793 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/1.326, allocations: 467.3 kB / 0.9797 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.281e-05/1.327, allocations: 35.86 kB / 0.9798 GB, free: 484 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003308/1.33, allocations: 374.3 kB / 0.9801 GB, free: 108 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/1.33, allocations: 80 kB / 0.9802 GB, free: 28 kB / 0.6856 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.0005741/1.331, allocations: 311.6 kB / 0.9805 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006409/1.331, allocations: 272.8 kB / 0.9807 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/1.335, allocations: 2.103 MB / 0.9828 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/1.335, allocations: 20 kB / 0.9828 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/1.335, allocations: 0 / 0.9828 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002476/1.337, allocations: 1.89 MB / 0.9847 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008706/1.346, allocations: 5.18 MB / 0.9897 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/1.346, allocations: 7.938 kB / 0.9897 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002277/1.348, allocations: 499.3 kB / 0.9902 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.106e-05/1.348, allocations: 16.25 kB / 0.9902 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/1.348, allocations: 59.92 kB / 0.9903 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/1.35, allocations: 4.122 MB / 0.9943 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.35, allocations: 4.031 kB / 0.9943 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004673/1.355, allocations: 3.223 MB / 0.9975 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/1.357, allocations: 0.5598 MB / 0.998 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004166/1.357, allocations: 47.98 kB / 0.998 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002338/1.359, allocations: 240.6 kB / 0.9983 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/1.36, allocations: 121.8 kB / 0.9984 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/1.36, allocations: 63.97 kB / 0.9985 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00196/1.362, allocations: 1.338 MB / 0.9998 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/1.362, allocations: 0 / 0.9998 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004552/1.366, allocations: 1.714 MB / 1.001 GB, free: 9.883 MB / 0.7169 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.0008448/1.367, allocations: 357 kB / 1.002 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006024/1.373, allocations: 3.312 MB / 1.005 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.373, allocations: 0 / 1.005 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/1.375, allocations: 1.032 MB / 1.006 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007744/1.383, allocations: 1.594 MB / 1.008 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.394, allocations: 8.045 MB / 1.015 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001802/1.396, allocations: 2.201 MB / 1.018 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/1.397, allocations: 231.4 kB / 1.018 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of SimCode: time 1.122e-06/1.397, allocations: 0 / 1.018 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.4116/1.809, allocations: 141 MB / 1.156 GB, free: 210.6 MB / 0.7325 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)