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 1.588/1.588, allocations: 287.4 MB / 302.6 MB, free: 8.316 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.001106/0.001106, allocations: 187.1 kB / 371.1 MB, free: 10.82 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.205/1.205, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007341/0.0007341, allocations: 88.19 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003806, allocations: 12.56 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1624, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.5777/0.7401, allocations: 278.7 MB / 1.251 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02737/0.7675, allocations: 23.98 MB / 1.274 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/0.7703, allocations: 95.31 kB / 1.274 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003332/0.7737, allocations: 1.2 MB / 1.276 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01071/0.7844, allocations: 4.356 MB / 1.28 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.005009/0.7894, allocations: 1.953 MB / 1.282 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.009803/0.7992, allocations: 10.43 MB / 1.292 GB, free: 10.86 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00304/0.8023, allocations: 2.937 MB / 1.295 GB, free: 7.844 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005034/0.8073, allocations: 3.186 MB / 1.298 GB, free: 4.645 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00295/0.8103, allocations: 2.83 MB / 1.301 GB, free: 1.805 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003141/0.8106, allocations: 152 kB / 1.301 GB, free: 1.656 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005133/0.8157, allocations: 2.405 MB / 1.303 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.817, allocations: 1.43 MB / 1.305 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0008028/0.8178, allocations: 0.7616 MB / 1.305 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.004454/0.8223, allocations: 4.731 MB / 1.31 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8223, allocations: 0 / 1.31 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8223, allocations: 3.938 kB / 1.31 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.661e-05/0.8224, allocations: 0 / 1.31 GB, free: 8.297 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.004917/0.8273, allocations: 3.44 MB / 1.313 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.8274, allocations: 8.031 kB / 1.313 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004061/0.8278, allocations: 387.7 kB / 1.314 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004507/0.8323, allocations: 0.9362 MB / 1.315 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00377/0.8361, allocations: 2.435 MB / 1.317 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.8363, allocations: 285.3 kB / 1.317 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003561/0.8367, allocations: 295.9 kB / 1.318 GB, free: 368 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0046/0.8413, allocations: 3.345 MB / 1.321 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/0.8413, allocations: 7.938 kB / 1.321 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/0.8416, allocations: 116 kB / 1.321 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.03e-05/0.8417, allocations: 109.3 kB / 1.321 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004055/0.8457, allocations: 2.788 MB / 1.324 GB, free: 9.898 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.01272/0.8585, allocations: 13.25 MB / 1.337 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.8608, allocations: 1.875 MB / 1.339 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.8622, allocations: 1.114 MB / 1.34 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000389/0.8626, allocations: 325.2 kB / 1.34 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.8626, allocations: 60.56 kB / 1.34 GB, free: 8.031 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=186): time 3.176e-06/0.8627, allocations: 0 / 1.34 GB, free: 8.031 MB / 0.8698 GB Notification: Performance of matching and sorting (n=186): time 0.004203/0.8669, allocations: 2.763 MB / 1.343 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.8669, allocations: 77.34 kB / 1.343 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/0.869, allocations: 1.961 MB / 1.345 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.8692, allocations: 65.7 kB / 1.345 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008915/0.8701, allocations: 1.403 MB / 1.346 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004766/0.8705, allocations: 0.6585 MB / 1.347 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.392e-05/0.8706, allocations: 48 kB / 1.347 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.8708, allocations: 382 kB / 1.347 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.8719, allocations: 0.8004 MB / 1.348 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.8735, allocations: 1.466 MB / 1.349 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/0.8762, allocations: 2.234 MB / 1.352 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.8762, allocations: 8 kB / 1.352 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003389/0.8796, allocations: 2.49 MB / 1.354 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002588/0.8799, allocations: 474.6 kB / 1.354 GB, free: 8.508 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.8799, allocations: 12 kB / 1.354 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.8799, allocations: 20 kB / 1.354 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/0.8823, allocations: 0.5656 MB / 1.355 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.8842, allocations: 4.165 MB / 1.359 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/0.8867, allocations: 375.5 kB / 1.359 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.8868, allocations: 87.98 kB / 1.36 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.8868, allocations: 4 kB / 1.36 GB, free: 3.125 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002987/0.8898, allocations: 2.226 MB / 1.362 GB, free: 0.8984 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.8898, allocations: 16 kB / 1.362 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.8899, allocations: 20 kB / 1.362 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.8914, allocations: 483.7 kB / 1.362 GB, free: 400 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.561e-05/0.8915, allocations: 39.86 kB / 1.362 GB, free: 360 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.8937, allocations: 356 kB / 1.363 GB, free: 4 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.8938, allocations: 83.98 kB / 1.363 GB, free: 15.92 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.001259/0.8951, allocations: 0.8673 MB / 1.364 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.8954, allocations: 272.8 kB / 1.364 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.8984, allocations: 2.138 MB / 1.366 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.8984, allocations: 20 kB / 1.366 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8984, allocations: 0 / 1.366 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002327/0.9007, allocations: 1.906 MB / 1.368 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006744/0.9075, allocations: 5.208 MB / 1.373 GB, free: 5.336 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.9075, allocations: 4 kB / 1.373 GB, free: 5.332 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002147/0.9097, allocations: 0.5111 MB / 1.373 GB, free: 4.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.9097, allocations: 8 kB / 1.373 GB, free: 4.812 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.9098, allocations: 60 kB / 1.373 GB, free: 4.754 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.9115, allocations: 4.126 MB / 1.377 GB, free: 476 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9116, allocations: 0 / 1.377 GB, free: 476 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004266/0.9158, allocations: 3.418 MB / 1.381 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009742/0.9168, allocations: 0.5715 MB / 1.381 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/0.9171, allocations: 47.94 kB / 1.381 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/0.9189, allocations: 248.4 kB / 1.382 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.9191, allocations: 121.8 kB / 1.382 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.9192, allocations: 75.91 kB / 1.382 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001566/0.9208, allocations: 1.302 MB / 1.383 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9208, allocations: 0 / 1.383 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003042/0.9238, allocations: 1.729 MB / 1.385 GB, free: 8.867 MB / 0.9167 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.004796/0.9286, allocations: 4.232 MB / 1.389 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005309/0.9339, allocations: 3.334 MB / 1.392 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.934, allocations: 7.938 kB / 1.392 GB, free: 1.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/0.9355, allocations: 1.05 MB / 1.393 GB, free: 212 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007896/0.9435, allocations: 1.58 MB / 1.395 GB, free: 14.63 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/0.9707, allocations: 19.16 MB / 1.413 GB, free: 10.04 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/0.9724, allocations: 2.182 MB / 1.416 GB, free: 7.828 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003612/0.976, allocations: 1.107 MB / 1.417 GB, free: 6.715 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/0.9775, allocations: 1.265 MB / 1.418 GB, free: 5.449 MB / 0.948 GB Notification: Performance of SimCode: time 6.32e-07/0.9775, allocations: 0 / 1.418 GB, free: 5.449 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.698/2.675, allocations: 78.1 MB / 1.494 GB, free: 308.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/2.675, allocations: 257.2 kB / 1.494 GB, free: 308.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.947/6.623, allocations: 0 / 1.494 GB, free: 308.3 MB / 0.948 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)