Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.553/1.553, allocations: 288.4 MB / 304.3 MB, free: 8.184 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.0009718/0.0009719, allocations: 180.5 kB / 372.9 MB, free: 10.17 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.262/1.262, allocations: 205.4 MB / 0.6316 GB, free: 9.941 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.0007057/0.0007058, allocations: 94.27 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003497, allocations: 11.81 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1632, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.5999/0.7632, allocations: 278.7 MB / 1.253 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02954/0.7927, allocations: 23.97 MB / 1.276 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003193/0.796, allocations: 99.31 kB / 1.276 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003905/0.7999, allocations: 1.391 MB / 1.278 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.812, allocations: 5.185 MB / 1.283 GB, free: 5.113 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.005418/0.8175, allocations: 2.009 MB / 1.285 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0119/0.8294, allocations: 10.43 MB / 1.295 GB, free: 8.664 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004117/0.8335, allocations: 2.971 MB / 1.298 GB, free: 5.621 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006546/0.8401, allocations: 3.323 MB / 1.301 GB, free: 2.285 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00492/0.845, allocations: 2.813 MB / 1.304 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0006449/0.8457, allocations: 159.9 kB / 1.304 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009096/0.8548, allocations: 5.209 MB / 1.309 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001819/0.8566, allocations: 1.426 MB / 1.311 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002973/0.8596, allocations: 1.818 MB / 1.312 GB, free: 6.824 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.005967/0.8656, allocations: 4.988 MB / 1.317 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8656, allocations: 0 / 1.317 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8656, allocations: 4 kB / 1.317 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001661/0.8658, allocations: 0 / 1.317 GB, free: 1.82 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.006269/0.872, allocations: 3.432 MB / 1.321 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.8721, allocations: 11.97 kB / 1.321 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005109/0.8772, allocations: 0.9322 MB / 1.321 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004246/0.8815, allocations: 2.451 MB / 1.324 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.8817, allocations: 281.3 kB / 1.324 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/0.8821, allocations: 295.9 kB / 1.324 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004907/0.887, allocations: 3.349 MB / 1.328 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.858e-05/0.8871, allocations: 8 kB / 1.328 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/0.8873, allocations: 112 kB / 1.328 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-05/0.8874, allocations: 113.3 kB / 1.328 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004199/0.8916, allocations: 2.785 MB / 1.331 GB, free: 3.801 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.0138/0.9054, allocations: 13.25 MB / 1.344 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.908, allocations: 1.866 MB / 1.345 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.9095, allocations: 1.121 MB / 1.346 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004373/0.91, allocations: 325.2 kB / 1.347 GB, free: 2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.91, allocations: 60.5 kB / 1.347 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=186): time 4.027e-06/0.91, allocations: 0 / 1.347 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of matching and sorting (n=186): time 0.004596/0.9146, allocations: 2.769 MB / 1.35 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.9147, allocations: 73.59 kB / 1.35 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.917, allocations: 1.957 MB / 1.352 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.9172, allocations: 73.7 kB / 1.352 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009735/0.9181, allocations: 1.395 MB / 1.353 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005694/0.9187, allocations: 0.6468 MB / 1.354 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.9188, allocations: 40 kB / 1.354 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.919, allocations: 394 kB / 1.354 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.9203, allocations: 0.7965 MB / 1.355 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.922, allocations: 1.466 MB / 1.356 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/0.925, allocations: 2.238 MB / 1.358 GB, free: 5.57 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.925, allocations: 4 kB / 1.358 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003741/0.9287, allocations: 2.49 MB / 1.361 GB, free: 3.066 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003288/0.9291, allocations: 490.1 kB / 1.361 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.9291, allocations: 12 kB / 1.361 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/0.9291, allocations: 24 kB / 1.361 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/0.9316, allocations: 0.5694 MB / 1.362 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.9337, allocations: 4.153 MB / 1.366 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/0.9364, allocations: 384.9 kB / 1.366 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.9365, allocations: 87.98 kB / 1.366 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.9365, allocations: 4.625 kB / 1.366 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003184/0.9397, allocations: 2.226 MB / 1.369 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.9398, allocations: 16.22 kB / 1.369 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.9398, allocations: 24 kB / 1.369 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.9415, allocations: 475.3 kB / 1.369 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/0.9415, allocations: 31.86 kB / 1.369 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.9438, allocations: 358.6 kB / 1.369 GB, free: 9.91 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.944, allocations: 91.97 kB / 1.37 GB, free: 9.82 MB / 0.9011 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.00132/0.9453, allocations: 0.8672 MB / 1.37 GB, free: 8.941 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003279/0.9456, allocations: 268.8 kB / 1.371 GB, free: 8.676 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/0.9487, allocations: 2.13 MB / 1.373 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002493/0.9512, allocations: 1.911 MB / 1.375 GB, free: 4.574 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.9512, allocations: 0 / 1.375 GB, free: 4.574 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008707/0.9521, allocations: 0.5677 MB / 1.375 GB, free: 3.984 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/0.9524, allocations: 43.98 kB / 1.375 GB, free: 3.941 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/0.9543, allocations: 245.2 kB / 1.375 GB, free: 3.703 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.9545, allocations: 113.7 kB / 1.376 GB, free: 3.59 MB / 0.9011 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004524/0.959, allocations: 2.382 MB / 1.378 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004384/0.9634, allocations: 3.471 MB / 1.381 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001142/0.9645, allocations: 0.9252 MB / 1.382 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001588/0.9661, allocations: 1.302 MB / 1.383 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of Backend: time 5.91e-07/0.9662, allocations: 0 / 1.383 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006862/0.973, allocations: 3.579 MB / 1.387 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of SimCode: time 0.01194/0.985, allocations: 8.777 MB / 1.395 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of Templates: time 0.429/1.414, allocations: 66.27 MB / 1.46 GB, free: 334.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)