Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.338/1.338, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009559/0.0009558, allocations: 171.7 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007131/0.0007133, allocations: 91.06 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 14.19 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2242, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7168/0.9411, allocations: 303.2 MB / 1.193 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03471/0.9758, allocations: 26.07 MB / 1.218 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004593/0.9804, allocations: 103.3 kB / 1.218 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005654/0.9861, allocations: 1.539 MB / 1.22 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01729/1.003, allocations: 5.652 MB / 1.225 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.007434/1.011, allocations: 2.468 MB / 1.228 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01551/1.026, allocations: 12.71 MB / 1.24 GB, free: 8.086 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005358/1.032, allocations: 2.992 MB / 1.243 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009732/1.042, allocations: 3.494 MB / 1.247 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007107/1.049, allocations: 2.983 MB / 1.249 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001269/1.05, allocations: 160 kB / 1.25 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01223/1.062, allocations: 5.287 MB / 1.255 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002718/1.065, allocations: 1.468 MB / 1.256 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.004027/1.069, allocations: 1.893 MB / 1.258 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.009287/1.078, allocations: 5.077 MB / 1.263 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/1.078, allocations: 4 kB / 1.263 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.126e-06/1.078, allocations: 4 kB / 1.263 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002096/1.079, allocations: 0 / 1.263 GB, free: 0.5859 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.006786/1.085, allocations: 3.444 MB / 1.266 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.086, allocations: 16.02 kB / 1.266 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005805/1.091, allocations: 0.9438 MB / 1.267 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006203/1.098, allocations: 2.463 MB / 1.27 GB, free: 9.57 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/1.098, allocations: 281.5 kB / 1.27 GB, free: 9.277 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005166/1.098, allocations: 291.9 kB / 1.27 GB, free: 8.992 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006158/1.105, allocations: 3.415 MB / 1.274 GB, free: 5.492 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.381e-05/1.105, allocations: 3.984 kB / 1.274 GB, free: 5.488 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/1.105, allocations: 120 kB / 1.274 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/1.105, allocations: 105.4 kB / 1.274 GB, free: 5.266 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004924/1.11, allocations: 2.828 MB / 1.277 GB, free: 2.426 MB / 0.7917 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.01766/1.128, allocations: 13.32 MB / 1.29 GB, free: 3.922 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/1.13, allocations: 1.837 MB / 1.291 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/1.132, allocations: 1.114 MB / 1.293 GB, free: 0.9688 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004738/1.133, allocations: 329.2 kB / 1.293 GB, free: 0.5938 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.412e-05/1.133, allocations: 60.56 kB / 1.293 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=186): time 6.282e-06/1.133, allocations: 0 / 1.293 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of matching and sorting (n=186): time 0.005255/1.138, allocations: 2.758 MB / 1.296 GB, free: 13.76 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/1.138, allocations: 73.41 kB / 1.296 GB, free: 13.68 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002853/1.141, allocations: 1.984 MB / 1.298 GB, free: 11.68 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002751/1.141, allocations: 73.7 kB / 1.298 GB, free: 11.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/1.142, allocations: 1.395 MB / 1.299 GB, free: 10.19 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006971/1.143, allocations: 0.6546 MB / 1.3 GB, free: 9.523 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/1.143, allocations: 173.7 kB / 1.3 GB, free: 9.348 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.738e-05/1.143, allocations: 305.1 kB / 1.3 GB, free: 9.047 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/1.145, allocations: 0.8044 MB / 1.301 GB, free: 8.238 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/1.146, allocations: 1.44 MB / 1.302 GB, free: 6.527 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003074/1.15, allocations: 2.249 MB / 1.304 GB, free: 4.109 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/1.15, allocations: 4 kB / 1.304 GB, free: 4.105 MB / 0.823 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004371/1.154, allocations: 2.501 MB / 1.307 GB, free: 1.594 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003313/1.154, allocations: 470.6 kB / 1.307 GB, free: 0.957 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/1.154, allocations: 16 kB / 1.307 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.349e-05/1.154, allocations: 27.98 kB / 1.307 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/1.157, allocations: 0.5578 MB / 1.308 GB, free: 364 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/1.159, allocations: 4.161 MB / 1.312 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003479/1.163, allocations: 381.8 kB / 1.312 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/1.163, allocations: 87.98 kB / 1.312 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.163, allocations: 4.938 kB / 1.312 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00374/1.167, allocations: 2.225 MB / 1.315 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/1.167, allocations: 12.88 kB / 1.315 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/1.167, allocations: 27.94 kB / 1.315 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/1.169, allocations: 487.3 kB / 1.315 GB, free: 8.828 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.922e-05/1.169, allocations: 27.92 kB / 1.315 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003174/1.172, allocations: 368.1 kB / 1.316 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/1.172, allocations: 83.98 kB / 1.316 GB, free: 8.359 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * 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.001831/1.174, allocations: 0.8729 MB / 1.316 GB, free: 7.477 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007399/1.175, allocations: 268.8 kB / 1.317 GB, free: 7.211 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/1.178, allocations: 2.138 MB / 1.319 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/1.178, allocations: 16 kB / 1.319 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.178, allocations: 3.984 kB / 1.319 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002577/1.181, allocations: 1.894 MB / 1.321 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008984/1.19, allocations: 5.216 MB / 1.326 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/1.19, allocations: 7.938 kB / 1.326 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002337/1.192, allocations: 0.5153 MB / 1.326 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.768e-05/1.192, allocations: 11.98 kB / 1.326 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/1.193, allocations: 51.98 kB / 1.326 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/1.195, allocations: 4.126 MB / 1.33 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.195, allocations: 8.203 kB / 1.33 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005187/1.2, allocations: 3.403 MB / 1.334 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/1.201, allocations: 0.5872 MB / 1.334 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005407/1.202, allocations: 48 kB / 1.334 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/1.205, allocations: 260.1 kB / 1.335 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/1.205, allocations: 117.8 kB / 1.335 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/1.205, allocations: 75.95 kB / 1.335 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001997/1.207, allocations: 1.337 MB / 1.336 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/1.207, allocations: 0 / 1.336 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004263/1.211, allocations: 1.745 MB / 1.338 GB, free: 1.242 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],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 (186): * Single equations (assignments): 179 * 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.000939/1.212, allocations: 388.8 kB / 1.338 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006135/1.218, allocations: 3.337 MB / 1.341 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.218, allocations: 0 / 1.341 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/1.22, allocations: 1.051 MB / 1.342 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008843/1.229, allocations: 1.595 MB / 1.344 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/1.241, allocations: 8.088 MB / 1.352 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001946/1.243, allocations: 2.201 MB / 1.354 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009898/1.244, allocations: 243.4 kB / 1.354 GB, free: 284 kB / 0.8698 GB Notification: Performance of SimCode: time 1.242e-06/1.244, allocations: 0 / 1.354 GB, free: 284 kB / 0.8698 GB Notification: Performance of Templates: time 0.5463/1.79, allocations: 141.4 MB / 1.492 GB, free: 294 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)