Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 97.05 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 172.2 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.484/2.484, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.276/1.276, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006158/0.0006158, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.27, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.158/1.428, allocations: 247.2 MB / 0.7981 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.8852/2.313, allocations: 23.9 MB / 0.8215 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008743/2.322, allocations: 101.7 kB / 0.8216 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01303/2.335, allocations: 1.717 MB / 0.8233 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.03832/2.373, allocations: 5.872 MB / 0.829 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01671/2.39, allocations: 2.716 MB / 0.8316 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.02373/2.414, allocations: 5.14 MB / 0.8367 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01477/2.429, allocations: 2.574 MB / 0.8392 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01597/2.445, allocations: 2.617 MB / 0.8417 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/2.455, allocations: 1.907 MB / 0.8436 GB, free: 23.9 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002891/2.458, allocations: 152.9 kB / 0.8437 GB, free: 23.9 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01679/2.475, allocations: 2.095 MB / 0.8458 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.006245/2.481, allocations: 1.308 MB / 0.8471 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.006123/2.487, allocations: 0.7612 MB / 0.8478 GB, free: 23.86 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0188/2.506, allocations: 4.506 MB / 0.8522 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.323e-05/2.506, allocations: 0 / 0.8522 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.125e-05/2.506, allocations: 2.812 kB / 0.8522 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004478/2.507, allocations: 4 kB / 0.8522 GB, free: 23.52 MB / 0.6387 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.01782/2.525, allocations: 3.419 MB / 0.8556 GB, free: 21.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 9.242e-05/2.525, allocations: 11.2 kB / 0.8556 GB, free: 21.82 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00316/2.528, allocations: 393.8 kB / 0.8559 GB, free: 21.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/2.54, allocations: 0.9428 MB / 0.8569 GB, free: 21.56 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/2.55, allocations: 2.233 MB / 0.859 GB, free: 21.01 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005804/2.551, allocations: 275 kB / 0.8593 GB, free: 20.94 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001672/2.553, allocations: 293.8 kB / 0.8596 GB, free: 20.93 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01445/2.567, allocations: 3.337 MB / 0.8628 GB, free: 20.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/2.567, allocations: 6.219 kB / 0.8628 GB, free: 20.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005974/2.568, allocations: 112.4 kB / 0.863 GB, free: 20.66 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002346/2.568, allocations: 113.1 kB / 0.8631 GB, free: 20.65 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/2.579, allocations: 2.801 MB / 0.8658 GB, free: 20.17 MB / 0.6387 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.03687/2.616, allocations: 13.29 MB / 0.8788 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004754/2.621, allocations: 1.723 MB / 0.8805 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002883/2.621, allocations: 63.02 kB / 0.8805 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.838e-05/2.621, allocations: 61.27 kB / 0.8806 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=186): time 6.543e-06/2.621, allocations: 2.438 kB / 0.8806 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=186): time 0.009085/2.63, allocations: 2.787 MB / 0.8833 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.774e-05/2.63, allocations: 68.75 kB / 0.8834 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00544/2.636, allocations: 1.982 MB / 0.8853 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008501/2.637, allocations: 74.36 kB / 0.8854 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001727/2.638, allocations: 1.402 MB / 0.8867 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001582/2.64, allocations: 0.6566 MB / 0.8874 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/2.64, allocations: 38.91 kB / 0.8874 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000349/2.641, allocations: 384.5 kB / 0.8878 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/2.643, allocations: 0.8051 MB / 0.8886 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/2.646, allocations: 1.436 MB / 0.89 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/2.649, allocations: 1.06 MB / 0.891 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/2.649, allocations: 3.344 kB / 0.891 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.007128/2.656, allocations: 2.511 MB / 0.8935 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.002801/2.659, allocations: 5.236 MB / 0.8986 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.282e-05/2.659, allocations: 12.88 kB / 0.8986 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.05e-05/2.659, allocations: 26.89 kB / 0.8986 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004747/2.664, allocations: 0.5603 MB / 0.8992 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00336/2.667, allocations: 4.15 MB / 0.9032 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007502/2.675, allocations: 417.2 kB / 0.9036 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006509/2.675, allocations: 91.72 kB / 0.9037 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/2.675, allocations: 5.781 kB / 0.9037 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006557/2.682, allocations: 2.234 MB / 0.9059 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.224e-05/2.682, allocations: 13.09 kB / 0.9059 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.475e-05/2.682, allocations: 24.25 kB / 0.9059 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003291/2.685, allocations: 482.7 kB / 0.9064 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-05/2.686, allocations: 34.17 kB / 0.9064 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006792/2.692, allocations: 395.5 kB / 0.9068 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006796/2.693, allocations: 87.77 kB / 0.9069 GB, free: 11.88 MB / 0.6544 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.003988/2.697, allocations: 0.8638 MB / 0.9077 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001833/2.699, allocations: 267.5 kB / 0.908 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006886/2.706, allocations: 2.156 MB / 0.9101 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/2.706, allocations: 15.78 kB / 0.9101 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/2.706, allocations: 4.516 kB / 0.9101 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00471/2.711, allocations: 1.926 MB / 0.912 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/2.728, allocations: 5.231 MB / 0.9171 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/2.728, allocations: 4 kB / 0.9171 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004245/2.733, allocations: 0.5015 MB / 0.9176 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.012e-05/2.733, allocations: 12 kB / 0.9176 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003394/2.733, allocations: 55.72 kB / 0.9176 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003102/2.736, allocations: 4.122 MB / 0.9217 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/2.736, allocations: 4.312 kB / 0.9217 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009356/2.746, allocations: 3.527 MB / 0.9251 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003439/2.749, allocations: 0.579 MB / 0.9257 GB, free: 15.19 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/2.75, allocations: 44.38 kB / 0.9257 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005096/2.756, allocations: 240.8 kB / 0.926 GB, free: 14.97 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005415/2.756, allocations: 124.3 kB / 0.9261 GB, free: 14.86 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003318/2.757, allocations: 72.22 kB / 0.9261 GB, free: 14.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003751/2.76, allocations: 1.315 MB / 0.9274 GB, free: 13.82 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.62e-07/2.76, allocations: 0 / 0.9274 GB, free: 13.82 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01069/2.771, allocations: 1.732 MB / 0.9291 GB, free: 12.19 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mC[1],vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mC[1],vol3.dynBal.medium.Xi[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mC[1],vol4.dynBal.medium.Xi[1],vol4.dynBal.U,vol4.dynBal.m,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.01159/2.783, allocations: 5.064 MB / 0.9341 GB, free: 8.094 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009534/2.792, allocations: 3.343 MB / 0.9373 GB, free: 5.785 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.677e-05/2.792, allocations: 4.875 kB / 0.9373 GB, free: 5.781 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002893/2.795, allocations: 1.051 MB / 0.9384 GB, free: 5.059 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01312/2.808, allocations: 1.574 MB / 0.9399 GB, free: 3.738 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04053/2.849, allocations: 18.8 MB / 0.9583 GB, free: 1.18 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004627/2.854, allocations: 2.26 MB / 0.9605 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.008808/2.863, allocations: 1.115 MB / 0.9616 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004331/2.867, allocations: 1.282 MB / 0.9628 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of SimCode: time 1.933e-06/2.867, allocations: 0 / 0.9628 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2319/3.099, allocations: 76.68 MB / 1.038 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000458/3.1, allocations: 267.8 kB / 1.038 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/10.74, allocations: 4 kB / 1.038 GB, free: 1.605 MB / 0.7637 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) Environment - environmentSimulation: