Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_10_Buildings_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.0008446/0.0008445, allocations: 91.45 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005721/0.005721, allocations: 171.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 8.188 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5342, allocations: 153.8 MB / 1.023 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.776/1.31, allocations: 298.8 MB / 1.315 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02544/1.336, allocations: 25.73 MB / 1.34 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003696/1.339, allocations: 109 kB / 1.34 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003799/1.343, allocations: 1.548 MB / 1.342 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01303/1.356, allocations: 5.616 MB / 1.347 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005692/1.362, allocations: 2.376 MB / 1.349 GB, free: 476 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01214/1.374, allocations: 12.44 MB / 1.362 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004074/1.378, allocations: 2.989 MB / 1.365 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/1.388, allocations: 3.548 MB / 1.368 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005665/1.394, allocations: 2.938 MB / 1.371 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005066/1.395, allocations: 150.2 kB / 1.371 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009456/1.404, allocations: 5.275 MB / 1.376 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001513/1.406, allocations: 1.419 MB / 1.378 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002723/1.408, allocations: 1.892 MB / 1.379 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00879/1.417, allocations: 6.747 MB / 1.386 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.417, allocations: 0 / 1.386 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/1.417, allocations: 0 / 1.386 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.487e-05/1.417, allocations: 0 / 1.386 GB, free: 4.102 MB / 0.9981 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.005195/1.422, allocations: 3.427 MB / 1.389 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/1.422, allocations: 13.5 kB / 1.389 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004419/1.423, allocations: 398 kB / 1.39 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004982/1.428, allocations: 0.9332 MB / 1.391 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/1.431, allocations: 2.271 MB / 1.393 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/1.431, allocations: 271.4 kB / 1.393 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003479/1.432, allocations: 291.7 kB / 1.393 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004878/1.437, allocations: 3.369 MB / 1.397 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.069e-05/1.437, allocations: 6.906 kB / 1.397 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/1.437, allocations: 112 kB / 1.397 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/1.437, allocations: 113.3 kB / 1.397 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004055/1.441, allocations: 2.798 MB / 1.4 GB, free: 8.773 MB / 1.014 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.01379/1.455, allocations: 13.27 MB / 1.413 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/1.457, allocations: 1.693 MB / 1.414 GB, free: 8.824 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/1.459, allocations: 1.106 MB / 1.415 GB, free: 7.723 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/1.459, allocations: 331.2 kB / 1.416 GB, free: 7.352 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/1.459, allocations: 68.5 kB / 1.416 GB, free: 7.277 MB / 1.029 GB Notification: Performance of pre-optimization done (n=182): time 2.995e-06/1.459, allocations: 0 / 1.416 GB, free: 7.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=182): time 0.004515/1.464, allocations: 2.735 MB / 1.418 GB, free: 4.535 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.464, allocations: 69.41 kB / 1.418 GB, free: 4.453 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/1.466, allocations: 1.994 MB / 1.42 GB, free: 2.441 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/1.466, allocations: 65.7 kB / 1.42 GB, free: 2.371 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009544/1.467, allocations: 1.405 MB / 1.422 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000556/1.468, allocations: 0.6425 MB / 1.422 GB, free: 324 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/1.468, allocations: 173.6 kB / 1.423 GB, free: 144 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/1.468, allocations: 305.1 kB / 1.423 GB, free: 15.84 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/1.469, allocations: 0.8043 MB / 1.424 GB, free: 15.03 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/1.471, allocations: 1.408 MB / 1.425 GB, free: 13.38 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/1.474, allocations: 2.263 MB / 1.427 GB, free: 10.93 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/1.474, allocations: 7.938 kB / 1.427 GB, free: 10.92 MB / 1.045 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003821/1.478, allocations: 2.506 MB / 1.43 GB, free: 8.406 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002937/1.478, allocations: 489.4 kB / 1.43 GB, free: 7.746 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/1.478, allocations: 16 kB / 1.43 GB, free: 7.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/1.478, allocations: 20 kB / 1.43 GB, free: 7.711 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/1.48, allocations: 0.5577 MB / 1.431 GB, free: 7.152 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/1.482, allocations: 4.165 MB / 1.435 GB, free: 2.824 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/1.485, allocations: 389.8 kB / 1.435 GB, free: 2.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/1.485, allocations: 87.98 kB / 1.435 GB, free: 2.355 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/1.485, allocations: 9.094 kB / 1.435 GB, free: 2.348 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003136/1.489, allocations: 2.225 MB / 1.437 GB, free: 124 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/1.489, allocations: 19.94 kB / 1.437 GB, free: 104 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/1.489, allocations: 24.83 kB / 1.437 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/1.49, allocations: 479.4 kB / 1.438 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-05/1.49, allocations: 31.88 kB / 1.438 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/1.493, allocations: 382 kB / 1.438 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/1.493, allocations: 83.98 kB / 1.438 GB, free: 15.12 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001393/1.495, allocations: 0.8672 MB / 1.439 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000426/1.495, allocations: 264.8 kB / 1.44 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/1.498, allocations: 2.111 MB / 1.442 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.498, allocations: 23.94 kB / 1.442 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.498, allocations: 0 / 1.442 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002402/1.501, allocations: 1.89 MB / 1.443 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00789/1.509, allocations: 5.186 MB / 1.449 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.509, allocations: 0 / 1.449 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002249/1.511, allocations: 0.4916 MB / 1.449 GB, free: 4.156 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-05/1.511, allocations: 12.19 kB / 1.449 GB, free: 4.145 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/1.511, allocations: 55.81 kB / 1.449 GB, free: 4.094 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/1.513, allocations: 4.126 MB / 1.453 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/1.513, allocations: 0 / 1.453 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/1.518, allocations: 3.242 MB / 1.456 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/1.519, allocations: 0.5638 MB / 1.457 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/1.519, allocations: 47.92 kB / 1.457 GB, free: 11.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/1.521, allocations: 253.9 kB / 1.457 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/1.522, allocations: 117.7 kB / 1.457 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/1.522, allocations: 67.97 kB / 1.457 GB, free: 11.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001696/1.523, allocations: 1.33 MB / 1.459 GB, free: 10.11 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/1.523, allocations: 0 / 1.459 GB, free: 10.11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003383/1.527, allocations: 1.718 MB / 1.46 GB, free: 8.383 MB / 1.076 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 (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004868/1.532, allocations: 4.038 MB / 1.464 GB, free: 4.305 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005495/1.537, allocations: 3.31 MB / 1.467 GB, free: 1 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.537, allocations: 12 kB / 1.467 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/1.539, allocations: 1.038 MB / 1.468 GB, free: 15.96 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008588/1.547, allocations: 1.595 MB / 1.47 GB, free: 14.37 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03232/1.58, allocations: 24.76 MB / 1.494 GB, free: 3.672 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/1.582, allocations: 2.194 MB / 1.496 GB, free: 1.449 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003412/1.585, allocations: 1.1 MB / 1.497 GB, free: 352 kB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/1.587, allocations: 1.259 MB / 1.499 GB, free: 15.1 MB / 1.123 GB Notification: Performance of SimCode: time 8.32e-07/1.587, allocations: 0 / 1.499 GB, free: 15.1 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.993/4.58, allocations: 73.68 MB / 1.571 GB, free: 6.316 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/4.58, allocations: 284.5 kB / 1.571 GB, free: 5.934 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.576/8.157, allocations: 0 / 1.571 GB, free: 5.934 MB / 1.186 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)