Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.592/1.592, allocations: 287.4 MB / 303.2 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 171.1 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007509/0.0007509, allocations: 95.55 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003954, allocations: 16.23 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1716, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.623/0.7947, allocations: 278.7 MB / 1.251 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02968/0.8244, allocations: 23.97 MB / 1.275 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003465/0.8279, allocations: 99.31 kB / 1.275 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003778/0.8317, allocations: 1.196 MB / 1.276 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01194/0.8437, allocations: 4.359 MB / 1.28 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00596/0.8496, allocations: 1.944 MB / 1.282 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01165/0.8613, allocations: 10.43 MB / 1.292 GB, free: 11 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004063/0.8654, allocations: 2.935 MB / 1.295 GB, free: 7.988 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006759/0.8722, allocations: 3.194 MB / 1.298 GB, free: 4.781 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004362/0.8766, allocations: 2.822 MB / 1.301 GB, free: 1.949 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005216/0.8771, allocations: 152 kB / 1.301 GB, free: 1.801 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00616/0.8833, allocations: 2.409 MB / 1.304 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.8848, allocations: 1.422 MB / 1.305 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.8862, allocations: 0.7576 MB / 1.306 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.006541/0.8927, allocations: 4.735 MB / 1.31 GB, free: 8.449 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.8928, allocations: 4 kB / 1.31 GB, free: 8.445 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.865e-06/0.8928, allocations: 0 / 1.31 GB, free: 8.445 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001549/0.8929, allocations: 0 / 1.31 GB, free: 8.445 MB / 0.8386 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.005482/0.8984, allocations: 3.429 MB / 1.314 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.8985, allocations: 12.03 kB / 1.314 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/0.9034, allocations: 0.9322 MB / 1.315 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004521/0.9079, allocations: 2.451 MB / 1.317 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.9082, allocations: 285.3 kB / 1.317 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003921/0.9086, allocations: 291.9 kB / 1.318 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005549/0.9141, allocations: 3.351 MB / 1.321 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.264e-05/0.9142, allocations: 0 / 1.321 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.9145, allocations: 116 kB / 1.321 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.9146, allocations: 109.3 kB / 1.321 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004445/0.919, allocations: 2.788 MB / 1.324 GB, free: 10.43 MB / 0.8542 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.01502/0.9341, allocations: 13.26 MB / 1.337 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.9365, allocations: 1.86 MB / 1.339 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.938, allocations: 1.121 MB / 1.34 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004172/0.9384, allocations: 329.2 kB / 1.34 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.9385, allocations: 56.56 kB / 1.34 GB, free: 8.566 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=186): time 6.442e-06/0.9385, allocations: 4 kB / 1.34 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of matching and sorting (n=186): time 0.004595/0.9431, allocations: 2.766 MB / 1.343 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.9432, allocations: 77.59 kB / 1.343 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002446/0.9456, allocations: 1.96 MB / 1.345 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001939/0.9458, allocations: 73.64 kB / 1.345 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009118/0.9467, allocations: 1.399 MB / 1.346 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005698/0.9473, allocations: 0.6507 MB / 1.347 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-05/0.9474, allocations: 44 kB / 1.347 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.9476, allocations: 386 kB / 1.347 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.9488, allocations: 0.8005 MB / 1.348 GB, free: 348 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.9504, allocations: 1.459 MB / 1.35 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/0.9533, allocations: 2.241 MB / 1.352 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.882e-06/0.9533, allocations: 4 kB / 1.352 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.00377/0.9571, allocations: 2.494 MB / 1.354 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000261/0.9573, allocations: 478.2 kB / 1.355 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.9574, allocations: 12 kB / 1.355 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.9574, allocations: 20 kB / 1.355 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002869/0.9603, allocations: 0.5617 MB / 1.355 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.9624, allocations: 4.161 MB / 1.359 GB, free: 4.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002956/0.9653, allocations: 379.1 kB / 1.36 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.9655, allocations: 87.98 kB / 1.36 GB, free: 3.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.637e-06/0.9655, allocations: 4 kB / 1.36 GB, free: 3.656 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00314/0.9687, allocations: 2.226 MB / 1.362 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.9687, allocations: 19.98 kB / 1.362 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.9687, allocations: 20 kB / 1.362 GB, free: 1.391 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.9704, allocations: 479.3 kB / 1.362 GB, free: 0.9219 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.064e-05/0.9705, allocations: 31.92 kB / 1.362 GB, free: 0.8906 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/0.9733, allocations: 365.3 kB / 1.363 GB, free: 0.5352 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.9735, allocations: 83.98 kB / 1.363 GB, free: 464 kB / 0.8855 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 (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001411/0.9749, allocations: 0.8634 MB / 1.364 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004723/0.9754, allocations: 268.8 kB / 1.364 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/0.9785, allocations: 2.142 MB / 1.366 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002435/0.981, allocations: 1.906 MB / 1.368 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/0.981, allocations: 0 / 1.368 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.9823, allocations: 0.5754 MB / 1.368 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/0.9826, allocations: 43.92 kB / 1.368 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/0.9845, allocations: 236.4 kB / 1.369 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.9847, allocations: 109.8 kB / 1.369 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004484/0.9892, allocations: 2.39 MB / 1.371 GB, free: 7.805 MB / 0.9011 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004379/0.9936, allocations: 3.47 MB / 1.375 GB, free: 4.316 MB / 0.9011 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001119/0.9948, allocations: 0.9213 MB / 1.375 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001717/0.9965, allocations: 1.298 MB / 1.377 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of Backend: time 4.51e-07/0.9965, allocations: 0 / 1.377 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007026/1.004, allocations: 3.55 MB / 1.38 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of SimCode: time 0.01287/1.016, allocations: 8.768 MB / 1.389 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of Templates: time 0.4479/1.464, allocations: 65.56 MB / 1.453 GB, free: 336.3 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)