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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001395/0.001395, allocations: 180.8 kB / 487.4 MB, free: 5.074 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.559/1.559, allocations: 221.5 MB / 0.7824 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009391/0.0009391, allocations: 114.4 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.958e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2224, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.999/5.221, allocations: 1.865 GB / 3.071 GB, free: 362 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/5.222, allocations: 85.06 kB / 3.071 GB, free: 362 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4132/5.635, allocations: 214.5 MB / 3.28 GB, free: 231.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.292e-06/5.635, allocations: 0 / 3.28 GB, free: 231.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.49e-05/5.635, allocations: 8 kB / 3.28 GB, free: 231.9 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.001709/5.637, allocations: 0.6194 MB / 3.281 GB, free: 231.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/5.637, allocations: 8.031 kB / 3.281 GB, free: 231.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003057/5.637, allocations: 59.69 kB / 3.281 GB, free: 231.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/5.638, allocations: 298.1 kB / 3.281 GB, free: 230.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/5.638, allocations: 4 kB / 3.281 GB, free: 230.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/5.638, allocations: 8 kB / 3.281 GB, free: 230.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002328/5.638, allocations: 144 kB / 3.281 GB, free: 230.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/5.638, allocations: 202.1 kB / 3.282 GB, free: 230.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/5.638, allocations: 0 / 3.282 GB, free: 230.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/5.638, allocations: 0 / 3.282 GB, free: 230.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/5.638, allocations: 4.328 kB / 3.282 GB, free: 230.5 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.001187/5.639, allocations: 0.8329 MB / 3.282 GB, free: 229.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/5.64, allocations: 122.5 kB / 3.283 GB, free: 229.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.847e-05/5.64, allocations: 92.81 kB / 3.283 GB, free: 229.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/5.64, allocations: 190.1 kB / 3.283 GB, free: 229.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/5.64, allocations: 34.81 kB / 3.283 GB, free: 229.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/5.64, allocations: 4 kB / 3.283 GB, free: 229.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.0005084/5.64, allocations: 217.3 kB / 3.283 GB, free: 228.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.795e-05/5.64, allocations: 51.41 kB / 3.283 GB, free: 228.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/5.641, allocations: 153.9 kB / 3.283 GB, free: 228.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/5.641, allocations: 25.7 kB / 3.283 GB, free: 228.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/5.641, allocations: 148.2 kB / 3.283 GB, free: 228.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/5.641, allocations: 43.3 kB / 3.283 GB, free: 228.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/5.641, allocations: 4 kB / 3.283 GB, free: 228.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.373e-05/5.641, allocations: 326.8 kB / 3.284 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/5.641, allocations: 67.95 kB / 3.284 GB, free: 228 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/5.641, allocations: 110.4 kB / 3.284 GB, free: 227.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.031e-05/5.641, allocations: 71.94 kB / 3.284 GB, free: 227.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/5.641, allocations: 4 kB / 3.284 GB, free: 227.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000243/5.641, allocations: 201.8 kB / 3.284 GB, free: 227.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/5.641, allocations: 4 kB / 3.284 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/5.641, allocations: 0 / 3.284 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/5.641, allocations: 4 kB / 3.284 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/5.642, allocations: 31.97 kB / 3.284 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/5.642, allocations: 7.953 kB / 3.284 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/5.642, allocations: 16.05 kB / 3.284 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/5.642, allocations: 15.98 kB / 3.284 GB, free: 227.6 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 6.787e-05/5.642, allocations: 108.9 kB / 3.284 GB, free: 227.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002365/5.642, allocations: 182.5 kB / 3.285 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/5.642, allocations: 23.7 kB / 3.285 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/5.642, allocations: 25.95 kB / 3.285 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/5.642, allocations: 7.953 kB / 3.285 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/5.642, allocations: 0 / 3.285 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/5.642, allocations: 4 kB / 3.285 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006878/5.643, allocations: 0.6412 MB / 3.285 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/5.643, allocations: 8.062 kB / 3.285 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/5.643, allocations: 35.91 kB / 3.285 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/5.643, allocations: 4 kB / 3.285 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/5.643, allocations: 8.062 kB / 3.285 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/5.643, allocations: 0 / 3.285 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/5.643, allocations: 7.984 kB / 3.285 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/5.644, allocations: 430 kB / 3.286 GB, free: 225.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/5.644, allocations: 108.9 kB / 3.286 GB, free: 225.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/5.644, allocations: 0 / 3.286 GB, free: 225.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/5.644, allocations: 23.91 kB / 3.286 GB, free: 225.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/5.644, allocations: 15.98 kB / 3.286 GB, free: 225.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/5.644, allocations: 15.89 kB / 3.286 GB, free: 225.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 6.611e-05/5.644, allocations: 124.3 kB / 3.286 GB, free: 225.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.644, allocations: 0 / 3.286 GB, free: 225.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005044/5.645, allocations: 119.8 kB / 3.286 GB, free: 225.5 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.001719/5.646, allocations: 2.343 MB / 3.288 GB, free: 223.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002505/5.647, allocations: 159.8 kB / 3.289 GB, free: 222.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/5.647, allocations: 4.125 kB / 3.289 GB, free: 222.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/5.647, allocations: 87.89 kB / 3.289 GB, free: 222.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/5.647, allocations: 77.34 kB / 3.289 GB, free: 222.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006639/5.648, allocations: 380.7 kB / 3.289 GB, free: 222.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/5.648, allocations: 0.7594 MB / 3.29 GB, free: 221.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002263/5.648, allocations: 65.8 kB / 3.29 GB, free: 221.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/5.648, allocations: 71.41 kB / 3.29 GB, free: 221.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/5.648, allocations: 0 / 3.29 GB, free: 221.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/5.678, allocations: 11.71 MB / 3.301 GB, free: 209.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/5.679, allocations: 172.9 kB / 3.302 GB, free: 209.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/7.794, allocations: 0 / 3.302 GB, free: 209.6 MB / 1.151 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