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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.743/2.743, allocations: 287.3 MB / 302.3 MB, free: 8.16 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.001568/0.001568, allocations: 171 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.225/2.225, allocations: 205.4 MB / 0.6295 GB, free: 10.68 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.001155/0.001154, allocations: 107.6 kB / 0.7428 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005096/0.0005097, allocations: 12.16 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2373, allocations: 115.3 MB / 0.9783 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.117/1.355, allocations: 247.2 MB / 1.22 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0543/1.409, allocations: 23.71 MB / 1.243 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005834/1.415, allocations: 95.31 kB / 1.243 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.008706/1.424, allocations: 1.726 MB / 1.245 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.02614/1.45, allocations: 5.741 MB / 1.25 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.01256/1.462, allocations: 2.704 MB / 1.253 GB, free: 220 kB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01384/1.476, allocations: 5.084 MB / 1.258 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00663/1.483, allocations: 2.569 MB / 1.26 GB, free: 8.516 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009478/1.492, allocations: 2.605 MB / 1.263 GB, free: 5.902 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005562/1.498, allocations: 1.911 MB / 1.265 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001213/1.499, allocations: 148 kB / 1.265 GB, free: 3.84 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/1.51, allocations: 2.091 MB / 1.267 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003409/1.513, allocations: 1.313 MB / 1.268 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002708/1.516, allocations: 0.7616 MB / 1.269 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01099/1.527, allocations: 4.493 MB / 1.273 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/1.527, allocations: 0 / 1.273 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.096e-06/1.527, allocations: 0 / 1.273 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002123/1.527, allocations: 0 / 1.273 GB, free: 11.16 MB / 0.8073 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.011/1.538, allocations: 3.405 MB / 1.277 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/1.538, allocations: 12.03 kB / 1.277 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001531/1.54, allocations: 395.6 kB / 1.277 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009058/1.549, allocations: 0.9322 MB / 1.278 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008244/1.557, allocations: 2.195 MB / 1.28 GB, free: 4.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004653/1.558, allocations: 281.4 kB / 1.28 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/1.559, allocations: 299.9 kB / 1.281 GB, free: 3.488 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/1.57, allocations: 3.321 MB / 1.284 GB, free: 84 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/1.57, allocations: 7.938 kB / 1.284 GB, free: 76 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004822/1.571, allocations: 112 kB / 1.284 GB, free: 15.96 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001955/1.571, allocations: 113.3 kB / 1.284 GB, free: 15.85 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009971/1.581, allocations: 2.788 MB / 1.287 GB, free: 13.05 MB / 0.823 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.02966/1.611, allocations: 13.24 MB / 1.3 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005108/1.616, allocations: 1.871 MB / 1.302 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/1.616, allocations: 65.91 kB / 1.302 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.409e-05/1.616, allocations: 60.52 kB / 1.302 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=186): time 4.949e-06/1.616, allocations: 0 / 1.302 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=186): time 0.009671/1.626, allocations: 2.774 MB / 1.304 GB, free: 9.832 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/1.626, allocations: 73.41 kB / 1.305 GB, free: 9.746 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004558/1.631, allocations: 1.949 MB / 1.306 GB, free: 7.777 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005585/1.631, allocations: 73.7 kB / 1.307 GB, free: 7.699 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001649/1.633, allocations: 1.395 MB / 1.308 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001324/1.634, allocations: 0.6507 MB / 1.309 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/1.635, allocations: 40 kB / 1.309 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002481/1.635, allocations: 394 kB / 1.309 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002576/1.637, allocations: 0.7926 MB / 1.31 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003422/1.641, allocations: 1.451 MB / 1.311 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/1.644, allocations: 1.068 MB / 1.312 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.111e-05/1.644, allocations: 4 kB / 1.312 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.008215/1.653, allocations: 2.494 MB / 1.315 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002393/1.655, allocations: 5.225 MB / 1.32 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.237e-05/1.655, allocations: 16 kB / 1.32 GB, free: 9.363 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.254e-05/1.655, allocations: 27.95 kB / 1.32 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005455/1.661, allocations: 0.5656 MB / 1.32 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/1.664, allocations: 4.157 MB / 1.324 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005894/1.67, allocations: 377.7 kB / 1.325 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005163/1.67, allocations: 91.97 kB / 1.325 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/1.67, allocations: 4 kB / 1.325 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006508/1.677, allocations: 2.226 MB / 1.327 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.332e-05/1.677, allocations: 12 kB / 1.327 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.324e-05/1.677, allocations: 24 kB / 1.327 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003878/1.681, allocations: 483.8 kB / 1.327 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-05/1.681, allocations: 35.83 kB / 1.327 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005778/1.687, allocations: 353.4 kB / 1.328 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004419/1.687, allocations: 91.98 kB / 1.328 GB, free: 0.7812 MB / 0.8542 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.002669/1.69, allocations: 0.8712 MB / 1.329 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009772/1.691, allocations: 264.8 kB / 1.329 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006226/1.697, allocations: 2.134 MB / 1.331 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/1.697, allocations: 24 kB / 1.331 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.697, allocations: 3.953 kB / 1.331 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004782/1.702, allocations: 1.906 MB / 1.333 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/1.717, allocations: 5.212 MB / 1.338 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.718, allocations: 4 kB / 1.338 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004953/1.723, allocations: 0.5033 MB / 1.339 GB, free: 5.691 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-05/1.723, allocations: 12 kB / 1.339 GB, free: 5.68 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003/1.723, allocations: 56 kB / 1.339 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/1.726, allocations: 4.118 MB / 1.343 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/1.726, allocations: 4.031 kB / 1.343 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009504/1.735, allocations: 3.657 MB / 1.346 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002549/1.738, allocations: 0.5755 MB / 1.347 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007986/1.739, allocations: 36 kB / 1.347 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004626/1.743, allocations: 260.3 kB / 1.347 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005356/1.744, allocations: 117.7 kB / 1.347 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002616/1.744, allocations: 67.97 kB / 1.347 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003519/1.748, allocations: 1.302 MB / 1.349 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.21e-07/1.748, allocations: 0 / 1.349 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007716/1.755, allocations: 1.726 MB / 1.35 GB, free: 9.438 MB / 0.8855 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 (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 Backend phase and start with SimCode phase: time 0.01156/1.767, allocations: 5.212 MB / 1.355 GB, free: 4.137 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01232/1.779, allocations: 3.334 MB / 1.359 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/1.78, allocations: 3.938 kB / 1.359 GB, free: 0.8086 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003636/1.783, allocations: 1.047 MB / 1.36 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01411/1.797, allocations: 1.575 MB / 1.361 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02808/1.825, allocations: 18.73 MB / 1.379 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003509/1.829, allocations: 2.244 MB / 1.382 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01212/1.841, allocations: 1.107 MB / 1.383 GB, free: 7.281 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005387/1.847, allocations: 1.272 MB / 1.384 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of SimCode: time 2.204e-06/1.847, allocations: 4 kB / 1.384 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9037/2.75, allocations: 76.6 MB / 1.459 GB, free: 356.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/2.751, allocations: 265.2 kB / 1.459 GB, free: 356.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.925/8.675, allocations: 3.094 kB / 1.459 GB, free: 356.2 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)