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.306/1.306, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.0008797/0.0008797, allocations: 172.7 kB / 326.5 MB, free: 2.688 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.358/1.358, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007335/0.0007335, allocations: 80.45 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002721, allocations: 12.41 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1431, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.5748/0.718, allocations: 303.2 MB / 1.193 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03187/0.7499, allocations: 26.07 MB / 1.218 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003847/0.7538, allocations: 103.4 kB / 1.218 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004369/0.7582, allocations: 1.547 MB / 1.22 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01332/0.7715, allocations: 5.647 MB / 1.225 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005941/0.7775, allocations: 2.474 MB / 1.228 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01263/0.7901, allocations: 12.7 MB / 1.24 GB, free: 8.176 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00387/0.794, allocations: 2.996 MB / 1.243 GB, free: 5.09 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006785/0.8008, allocations: 3.494 MB / 1.247 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005937/0.8068, allocations: 3.002 MB / 1.25 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.00062/0.8074, allocations: 156 kB / 1.25 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009289/0.8167, allocations: 5.287 MB / 1.255 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.8183, allocations: 1.464 MB / 1.256 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002344/0.8206, allocations: 1.889 MB / 1.258 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00872/0.8294, allocations: 6.872 MB / 1.265 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.8294, allocations: 0 / 1.265 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8294, allocations: 0 / 1.265 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.666e-05/0.8295, allocations: 0 / 1.265 GB, free: 14.87 MB / 0.7917 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.005234/0.8347, allocations: 3.455 MB / 1.268 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.8348, allocations: 8.031 kB / 1.268 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/0.8399, allocations: 0.94 MB / 1.269 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004741/0.8447, allocations: 2.459 MB / 1.272 GB, free: 7.859 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.8449, allocations: 281.5 kB / 1.272 GB, free: 7.566 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003857/0.8453, allocations: 303.9 kB / 1.272 GB, free: 7.27 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005067/0.8504, allocations: 3.411 MB / 1.275 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.338e-05/0.8504, allocations: 0 / 1.275 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/0.8507, allocations: 120 kB / 1.276 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.8508, allocations: 109.4 kB / 1.276 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004219/0.855, allocations: 2.824 MB / 1.278 GB, free: 0.7109 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.0144/0.8694, allocations: 13.31 MB / 1.291 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/0.8719, allocations: 1.837 MB / 1.293 GB, free: 376 kB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.8734, allocations: 1.114 MB / 1.294 GB, free: 15.26 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/0.8738, allocations: 333.1 kB / 1.295 GB, free: 14.88 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.8739, allocations: 64.56 kB / 1.295 GB, free: 14.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=186): time 4.017e-06/0.8739, allocations: 0 / 1.295 GB, free: 14.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=186): time 0.004736/0.8786, allocations: 2.754 MB / 1.297 GB, free: 12.05 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.8787, allocations: 77.39 kB / 1.297 GB, free: 11.96 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/0.8811, allocations: 1.981 MB / 1.299 GB, free: 9.961 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.8813, allocations: 69.7 kB / 1.299 GB, free: 9.887 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009375/0.8822, allocations: 1.406 MB / 1.301 GB, free: 8.465 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000565/0.8828, allocations: 0.6507 MB / 1.301 GB, free: 7.805 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.883, allocations: 173.7 kB / 1.302 GB, free: 7.629 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.048e-05/0.8831, allocations: 309.1 kB / 1.302 GB, free: 7.324 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.8844, allocations: 0.8043 MB / 1.303 GB, free: 6.516 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.8861, allocations: 1.444 MB / 1.304 GB, free: 4.801 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002986/0.8891, allocations: 2.249 MB / 1.306 GB, free: 2.383 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.8892, allocations: 8 kB / 1.306 GB, free: 2.375 MB / 0.823 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003991/0.8932, allocations: 2.498 MB / 1.309 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002797/0.8934, allocations: 470.5 kB / 1.309 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.8935, allocations: 12 kB / 1.309 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.8935, allocations: 28 kB / 1.309 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.8959, allocations: 0.5617 MB / 1.31 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.898, allocations: 4.161 MB / 1.314 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/0.9009, allocations: 374.4 kB / 1.314 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.901, allocations: 91.98 kB / 1.314 GB, free: 9.848 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.901, allocations: 4 kB / 1.314 GB, free: 9.844 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003196/0.9042, allocations: 2.222 MB / 1.316 GB, free: 7.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.9043, allocations: 12 kB / 1.316 GB, free: 7.609 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.9043, allocations: 24 kB / 1.316 GB, free: 7.586 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.9059, allocations: 488 kB / 1.317 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.817e-05/0.906, allocations: 35.86 kB / 1.317 GB, free: 7.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/0.9087, allocations: 367.3 kB / 1.317 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.9089, allocations: 87.98 kB / 1.317 GB, free: 6.633 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.001429/0.9103, allocations: 0.8716 MB / 1.318 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/0.9108, allocations: 264.8 kB / 1.318 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003102/0.9139, allocations: 2.138 MB / 1.321 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002467/0.9164, allocations: 1.902 MB / 1.322 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.9164, allocations: 0 / 1.322 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.9176, allocations: 0.5794 MB / 1.323 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/0.9179, allocations: 40 kB / 1.323 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/0.9198, allocations: 263.2 kB / 1.323 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.92, allocations: 109.8 kB / 1.323 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00446/0.9245, allocations: 2.382 MB / 1.326 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004482/0.929, allocations: 3.458 MB / 1.329 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001174/0.9302, allocations: 0.9252 MB / 1.33 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001728/0.9319, allocations: 1.333 MB / 1.331 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of Backend: time 4.41e-07/0.9319, allocations: 0 / 1.331 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007216/0.9391, allocations: 3.591 MB / 1.335 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01286/0.952, allocations: 8.8 MB / 1.343 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.3923/1.344, allocations: 67.23 MB / 1.409 GB, free: 363.5 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)