Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.0009521/0.000952, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.0009446/0.0009446, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 11.98 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.685/0.6854, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1593/0.8448, allocations: 135.5 MB / 1.086 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.8468, allocations: 0.9708 MB / 1.087 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.8471, allocations: 7.938 kB / 1.087 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000656/0.8478, allocations: 171.2 kB / 1.087 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.8491, allocations: 422.7 kB / 1.087 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.8499, allocations: 267.8 kB / 1.088 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005352/0.8504, allocations: 312.2 kB / 1.088 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/0.8508, allocations: 152.2 kB / 1.088 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005762/0.8514, allocations: 255.3 kB / 1.088 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.8515, allocations: 107.5 kB / 1.088 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.8515, allocations: 12 kB / 1.088 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.8521, allocations: 243.6 kB / 1.089 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.018e-05/0.8522, allocations: 67.8 kB / 1.089 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.018e-05/0.8523, allocations: 61.64 kB / 1.089 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.8527, allocations: 271.2 kB / 1.089 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.8527, allocations: 0 / 1.089 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8527, allocations: 0 / 1.089 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.8527, allocations: 4 kB / 1.089 GB, free: 5.047 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001363/0.8541, allocations: 0.5494 MB / 1.09 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.8541, allocations: 8.031 kB / 1.09 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.003e-05/0.8542, allocations: 50.55 kB / 1.09 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.8545, allocations: 51.64 kB / 1.09 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.8548, allocations: 262.6 kB / 1.09 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.8549, allocations: 16.33 kB / 1.09 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.8549, allocations: 16 kB / 1.09 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.8554, allocations: 242.9 kB / 1.09 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.8554, allocations: 4 kB / 1.09 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.8554, allocations: 7.938 kB / 1.09 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.8555, allocations: 11.98 kB / 1.09 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005994/0.8561, allocations: 255.8 kB / 1.09 GB, free: 3.488 MB / 0.8419 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.001223/0.8573, allocations: 0.8002 MB / 1.091 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.8576, allocations: 142.5 kB / 1.091 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-05/0.8577, allocations: 8.078 kB / 1.091 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.8577, allocations: 38.56 kB / 1.091 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.8577, allocations: 0 / 1.091 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.000843/0.8586, allocations: 321.1 kB / 1.092 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.8586, allocations: 55.41 kB / 1.092 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.8589, allocations: 241 kB / 1.092 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.8589, allocations: 29.7 kB / 1.092 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.859, allocations: 136.2 kB / 1.092 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.8591, allocations: 47.3 kB / 1.092 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.8591, allocations: 4 kB / 1.092 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8592, allocations: 334.8 kB / 1.093 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.8594, allocations: 71.95 kB / 1.093 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.8596, allocations: 104.6 kB / 1.093 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.8598, allocations: 89.83 kB / 1.093 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8598, allocations: 0 / 1.093 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00046/0.8603, allocations: 225.3 kB / 1.093 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.8603, allocations: 9.562 kB / 1.093 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8603, allocations: 0 / 1.093 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.8604, allocations: 0 / 1.093 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.8606, allocations: 39.88 kB / 1.093 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.8606, allocations: 0 / 1.093 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.8608, allocations: 31.86 kB / 1.093 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.8608, allocations: 7.984 kB / 1.093 GB, free: 0.6445 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.861, allocations: 137.8 kB / 1.093 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.861, allocations: 27.72 kB / 1.093 GB, free: 484 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.782e-05/0.8611, allocations: 29.77 kB / 1.093 GB, free: 456 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.8611, allocations: 4 kB / 1.093 GB, free: 452 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.8611, allocations: 3.953 kB / 1.093 GB, free: 448 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.8611, allocations: 0 / 1.093 GB, free: 448 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.8622, allocations: 0.6874 MB / 1.094 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.8622, allocations: 0 / 1.094 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.8624, allocations: 39.91 kB / 1.094 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.8624, allocations: 0 / 1.094 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.8624, allocations: 11.94 kB / 1.094 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.8625, allocations: 4 kB / 1.094 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8625, allocations: 224 / 1.094 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.863, allocations: 461.5 kB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.8631, allocations: 112.9 kB / 1.095 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.8632, allocations: 8 kB / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.8634, allocations: 23.83 kB / 1.095 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.8634, allocations: 11.98 kB / 1.095 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.8635, allocations: 8 kB / 1.095 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001709/0.8636, allocations: 184.4 kB / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8636, allocations: 0 / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003626/0.864, allocations: 52 kB / 1.095 GB, free: 14.68 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001272/0.8653, allocations: 1.511 MB / 1.096 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004575/0.8658, allocations: 179.3 kB / 1.097 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8658, allocations: 0 / 1.097 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.866, allocations: 108.4 kB / 1.097 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000673/0.8667, allocations: 118.1 kB / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.8689, allocations: 1.66 MB / 1.098 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.8693, allocations: 0.7599 MB / 1.099 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002422/0.8696, allocations: 58.14 kB / 1.099 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.8697, allocations: 63.41 kB / 1.099 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of SimCode: time 8.42e-07/0.8697, allocations: 4 kB / 1.099 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.888, allocations: 6.373 MB / 1.105 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/0.8883, allocations: 229.4 kB / 1.106 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.7, allocations: 0 / 1.106 GB, free: 3.641 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat does not exist to compare? outputFormat=mat