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.659/2.659, allocations: 287.5 MB / 302.4 MB, free: 8.242 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.001313/0.001313, allocations: 179 kB / 371 MB, free: 10.87 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.055/2.055, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0008671/0.0008665, allocations: 86.36 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007115/0.0007118, allocations: 12.59 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.222, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.205/1.427, allocations: 278.7 MB / 1.251 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.05151/1.479, allocations: 23.97 MB / 1.274 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004798/1.484, allocations: 99.31 kB / 1.274 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.006172/1.49, allocations: 1.2 MB / 1.275 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01833/1.508, allocations: 4.35 MB / 1.28 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01025/1.519, allocations: 1.949 MB / 1.281 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01898/1.538, allocations: 10.39 MB / 1.292 GB, free: 11.12 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006365/1.544, allocations: 2.534 MB / 1.294 GB, free: 8.543 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01099/1.555, allocations: 3.19 MB / 1.297 GB, free: 5.34 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00738/1.563, allocations: 2.814 MB / 1.3 GB, free: 2.516 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001414/1.564, allocations: 152 kB / 1.3 GB, free: 2.367 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/1.576, allocations: 2.42 MB / 1.302 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003457/1.579, allocations: 1.418 MB / 1.304 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002472/1.582, allocations: 0.7654 MB / 1.305 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01059/1.592, allocations: 4.731 MB / 1.309 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/1.592, allocations: 0 / 1.309 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.475e-06/1.592, allocations: 0 / 1.309 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001934/1.593, allocations: 0 / 1.309 GB, free: 9.004 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.01059/1.603, allocations: 3.468 MB / 1.313 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/1.603, allocations: 8.031 kB / 1.313 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001428/1.605, allocations: 399.6 kB / 1.313 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008831/1.614, allocations: 0.9361 MB / 1.314 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008206/1.622, allocations: 2.355 MB / 1.316 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003876/1.622, allocations: 277.4 kB / 1.316 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008846/1.623, allocations: 295.9 kB / 1.317 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/1.633, allocations: 3.349 MB / 1.32 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.596e-05/1.633, allocations: 4 kB / 1.32 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004389/1.634, allocations: 120 kB / 1.32 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/1.634, allocations: 105.3 kB / 1.32 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00898/1.643, allocations: 2.785 MB / 1.323 GB, free: 10.66 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.02736/1.67, allocations: 13.24 MB / 1.336 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005011/1.675, allocations: 1.871 MB / 1.338 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00315/1.679, allocations: 1.118 MB / 1.339 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007946/1.679, allocations: 345.1 kB / 1.339 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.227e-05/1.68, allocations: 56.56 kB / 1.339 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=186): time 5.21e-06/1.68, allocations: 0 / 1.339 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of matching and sorting (n=186): time 0.009499/1.689, allocations: 2.766 MB / 1.342 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/1.689, allocations: 73.41 kB / 1.342 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004335/1.694, allocations: 1.949 MB / 1.344 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005126/1.694, allocations: 81.64 kB / 1.344 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001584/1.696, allocations: 1.391 MB / 1.345 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001221/1.697, allocations: 0.6545 MB / 1.346 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/1.697, allocations: 40 kB / 1.346 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002308/1.697, allocations: 390 kB / 1.346 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/1.7, allocations: 0.8004 MB / 1.347 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003176/1.703, allocations: 1.466 MB / 1.349 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/1.706, allocations: 1.06 MB / 1.35 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.152e-05/1.706, allocations: 4 kB / 1.35 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.007583/1.714, allocations: 2.498 MB / 1.352 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004061/1.714, allocations: 474.6 kB / 1.352 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/1.714, allocations: 12 kB / 1.353 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.348e-05/1.714, allocations: 24 kB / 1.353 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/1.72, allocations: 0.5655 MB / 1.353 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/1.722, allocations: 4.153 MB / 1.357 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005706/1.728, allocations: 378 kB / 1.357 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005769/1.729, allocations: 87.98 kB / 1.358 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.729, allocations: 4 kB / 1.358 GB, free: 5.223 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007254/1.736, allocations: 2.226 MB / 1.36 GB, free: 2.996 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.161e-05/1.736, allocations: 12 kB / 1.36 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.237e-05/1.736, allocations: 27.94 kB / 1.36 GB, free: 2.957 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003852/1.74, allocations: 479.3 kB / 1.36 GB, free: 2.488 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.736e-05/1.74, allocations: 32.39 kB / 1.36 GB, free: 2.457 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005498/1.746, allocations: 357.4 kB / 1.361 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/1.746, allocations: 91.97 kB / 1.361 GB, free: 2.02 MB / 0.8855 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.002495/1.749, allocations: 0.8634 MB / 1.362 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000949/1.75, allocations: 272.8 kB / 1.362 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005818/1.755, allocations: 2.13 MB / 1.364 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/1.755, allocations: 16 kB / 1.364 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.755, allocations: 4 kB / 1.364 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004454/1.76, allocations: 1.913 MB / 1.366 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/1.774, allocations: 5.208 MB / 1.371 GB, free: 7.438 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/1.774, allocations: 16.05 kB / 1.371 GB, free: 7.422 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004626/1.779, allocations: 0.5033 MB / 1.371 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.323e-05/1.779, allocations: 11.95 kB / 1.371 GB, free: 6.906 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002072/1.779, allocations: 51.98 kB / 1.371 GB, free: 6.855 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/1.781, allocations: 4.126 MB / 1.375 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/1.781, allocations: 4 kB / 1.375 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008534/1.79, allocations: 3.418 MB / 1.379 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/1.792, allocations: 0.5715 MB / 1.379 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000618/1.793, allocations: 51.92 kB / 1.379 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004091/1.797, allocations: 252.2 kB / 1.38 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/1.797, allocations: 117.9 kB / 1.38 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/1.798, allocations: 75.95 kB / 1.38 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002946/1.801, allocations: 1.298 MB / 1.381 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.91e-07/1.801, allocations: 0 / 1.381 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006737/1.807, allocations: 1.718 MB / 1.383 GB, free: 10.98 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.009702/1.817, allocations: 4.243 MB / 1.387 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.827, allocations: 3.349 MB / 1.39 GB, free: 3.352 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.827, allocations: 0.875 kB / 1.39 GB, free: 3.352 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003204/1.831, allocations: 1.046 MB / 1.391 GB, free: 2.309 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01404/1.845, allocations: 1.61 MB / 1.393 GB, free: 0.7031 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05108/1.896, allocations: 19.14 MB / 1.411 GB, free: 12.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003425/1.899, allocations: 2.178 MB / 1.414 GB, free: 9.926 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006836/1.906, allocations: 1.107 MB / 1.415 GB, free: 8.812 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003288/1.909, allocations: 1.269 MB / 1.416 GB, free: 7.543 MB / 0.948 GB Notification: Performance of SimCode: time 1.844e-06/1.91, allocations: 3.938 kB / 1.416 GB, free: 7.539 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8616/2.771, allocations: 78.05 MB / 1.492 GB, free: 310.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/2.771, allocations: 262.8 kB / 1.492 GB, free: 310.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.82/8.591, allocations: 0 / 1.492 GB, free: 310.5 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)