Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.273/2.273, allocations: 390.5 MB / 398 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 180.9 kB / 491.2 MB, free: 1.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 95.78 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.162e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2564, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.69/5.947, allocations: 1.865 GB / 3.078 GB, free: 359.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/5.947, allocations: 82.2 kB / 3.078 GB, free: 359.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4026/6.35, allocations: 214.5 MB / 3.287 GB, free: 208.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.706e-06/6.35, allocations: 0 / 3.287 GB, free: 208.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.166e-05/6.35, allocations: 7.938 kB / 3.287 GB, free: 208.8 MB / 1.151 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.001756/6.351, allocations: 0.6194 MB / 3.288 GB, free: 208.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/6.351, allocations: 12.03 kB / 3.288 GB, free: 208.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/6.352, allocations: 51.64 kB / 3.288 GB, free: 208 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/6.352, allocations: 294.2 kB / 3.288 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/6.352, allocations: 4 kB / 3.288 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/6.352, allocations: 15.98 kB / 3.288 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002419/6.353, allocations: 144 kB / 3.289 GB, free: 207.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/6.353, allocations: 197.4 kB / 3.289 GB, free: 207.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/6.353, allocations: 4 kB / 3.289 GB, free: 207.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/6.353, allocations: 3.938 kB / 3.289 GB, free: 207.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/6.353, allocations: 8.328 kB / 3.289 GB, free: 207.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.001357/6.354, allocations: 0.8212 MB / 3.29 GB, free: 206.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/6.355, allocations: 122.5 kB / 3.29 GB, free: 206.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/6.355, allocations: 92.81 kB / 3.29 GB, free: 206.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/6.355, allocations: 190.4 kB / 3.29 GB, free: 206 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/6.355, allocations: 38.56 kB / 3.29 GB, free: 206 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 1.694e-06/6.355, allocations: 0 / 3.29 GB, free: 206 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.0005288/6.355, allocations: 217.3 kB / 3.29 GB, free: 205.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/6.356, allocations: 55.34 kB / 3.29 GB, free: 205.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/6.356, allocations: 151.1 kB / 3.29 GB, free: 205.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/6.356, allocations: 29.7 kB / 3.29 GB, free: 205.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/6.356, allocations: 148.2 kB / 3.291 GB, free: 205.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/6.356, allocations: 39.36 kB / 3.291 GB, free: 205.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/6.356, allocations: 0 / 3.291 GB, free: 205.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.68e-05/6.356, allocations: 326.8 kB / 3.291 GB, free: 205 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.433e-05/6.356, allocations: 67.95 kB / 3.291 GB, free: 204.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/6.356, allocations: 109.7 kB / 3.291 GB, free: 204.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.547e-05/6.356, allocations: 76.62 kB / 3.291 GB, free: 204.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/6.356, allocations: 0 / 3.291 GB, free: 204.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002527/6.356, allocations: 202.5 kB / 3.291 GB, free: 204.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/6.356, allocations: 5.562 kB / 3.291 GB, free: 204.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/6.356, allocations: 4 kB / 3.291 GB, free: 204.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/6.357, allocations: 0 / 3.291 GB, free: 204.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/6.357, allocations: 47.92 kB / 3.291 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/6.357, allocations: 0 / 3.291 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/6.357, allocations: 15.98 kB / 3.291 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/6.357, allocations: 11.98 kB / 3.291 GB, free: 204.4 MB / 1.151 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 () * 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 7.548e-05/6.357, allocations: 105 kB / 3.292 GB, free: 204.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002474/6.357, allocations: 186.1 kB / 3.292 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/6.357, allocations: 19.81 kB / 3.292 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.686e-05/6.357, allocations: 33.91 kB / 3.292 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/6.357, allocations: 0 / 3.292 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/6.357, allocations: 0 / 3.292 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/6.357, allocations: 0 / 3.292 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007402/6.358, allocations: 0.6449 MB / 3.292 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/6.358, allocations: 4 kB / 3.292 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/6.358, allocations: 39.84 kB / 3.292 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/6.358, allocations: 4 kB / 3.292 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/6.358, allocations: 4 kB / 3.292 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/6.358, allocations: 8.062 kB / 3.292 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/6.358, allocations: 224 / 3.292 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/6.359, allocations: 431.8 kB / 3.293 GB, free: 202.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/6.359, allocations: 108.9 kB / 3.293 GB, free: 202.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/6.359, allocations: 0 / 3.293 GB, free: 202.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/6.359, allocations: 23.97 kB / 3.293 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/6.359, allocations: 15.89 kB / 3.293 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/6.359, allocations: 11.98 kB / 3.293 GB, free: 202.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 6.846e-05/6.359, allocations: 123.3 kB / 3.293 GB, free: 202.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/6.359, allocations: 4 kB / 3.293 GB, free: 202.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005509/6.36, allocations: 115.8 kB / 3.293 GB, free: 202.4 MB / 1.151 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 () * 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.001904/6.362, allocations: 2.333 MB / 3.295 GB, free: 200 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002832/6.362, allocations: 159.8 kB / 3.296 GB, free: 199.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/6.362, allocations: 0 / 3.296 GB, free: 199.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/6.362, allocations: 91.83 kB / 3.296 GB, free: 199.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/6.363, allocations: 82.25 kB / 3.296 GB, free: 199.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/6.364, allocations: 380.7 kB / 3.296 GB, free: 199.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/6.364, allocations: 0.7594 MB / 3.297 GB, free: 198.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000225/6.364, allocations: 69.8 kB / 3.297 GB, free: 198.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/6.364, allocations: 67.41 kB / 3.297 GB, free: 198.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/6.364, allocations: 0 / 3.297 GB, free: 198.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/6.397, allocations: 11.71 MB / 3.308 GB, free: 186.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/6.397, allocations: 177.5 kB / 3.309 GB, free: 186.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/8.613, allocations: 0 / 3.309 GB, free: 186.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat does not exist to compare? outputFormat=mat