Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.Examples.CheckValve,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_CheckValve",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.244/2.244, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001095/0.001095, allocations: 179.3 kB / 498.1 MB, free: 5.742 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.558/1.558, allocations: 223.1 MB / 0.7948 GB, free: 17.84 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.0008943/0.0008945, allocations: 103.9 kB / 0.9346 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 10.69 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2877, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.449, allocations: 390.6 MB / 1.604 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/1.449, allocations: 90.2 kB / 1.604 GB, free: 4.793 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.5572/2.007, allocations: 257.4 MB / 1.856 GB, free: 1.098 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.304e-06/2.007, allocations: 0 / 1.856 GB, free: 1.098 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001061/2.007, allocations: 16 kB / 1.856 GB, free: 1.082 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.003105/2.01, allocations: 0.9305 MB / 1.857 GB, free: 104 kB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.838e-05/2.01, allocations: 8.031 kB / 1.857 GB, free: 96 kB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/2.01, allocations: 70.53 kB / 1.857 GB, free: 16 kB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/2.011, allocations: 67.25 kB / 1.857 GB, free: 15.95 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/2.012, allocations: 475.4 kB / 1.857 GB, free: 15.45 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/2.012, allocations: 28.66 kB / 1.857 GB, free: 15.42 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.802e-05/2.012, allocations: 36 kB / 1.857 GB, free: 15.38 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/2.013, allocations: 302 kB / 1.858 GB, free: 15.08 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/2.013, allocations: 7.984 kB / 1.858 GB, free: 15.07 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/2.013, allocations: 11.98 kB / 1.858 GB, free: 15.06 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/2.013, allocations: 8 kB / 1.858 GB, free: 15.05 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/2.014, allocations: 274.4 kB / 1.858 GB, free: 14.79 MB / 1.167 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.002655/2.016, allocations: 1.317 MB / 1.859 GB, free: 13.35 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/2.017, allocations: 274.4 kB / 1.86 GB, free: 13.07 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/2.018, allocations: 0.5025 MB / 1.86 GB, free: 12.46 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/2.018, allocations: 38.56 kB / 1.86 GB, free: 12.41 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 3.567e-06/2.018, allocations: 4 kB / 1.86 GB, free: 12.41 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.001883/2.019, allocations: 0.5811 MB / 1.861 GB, free: 11.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/2.02, allocations: 59.39 kB / 1.861 GB, free: 11.73 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/2.02, allocations: 397.4 kB / 1.861 GB, free: 11.33 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/2.02, allocations: 37.7 kB / 1.861 GB, free: 11.29 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/2.02, allocations: 252.9 kB / 1.861 GB, free: 11.04 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/2.02, allocations: 82.75 kB / 1.861 GB, free: 10.95 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/2.02, allocations: 8 kB / 1.861 GB, free: 10.95 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000175/2.021, allocations: 358.8 kB / 1.862 GB, free: 10.59 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/2.021, allocations: 115.9 kB / 1.862 GB, free: 10.47 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/2.021, allocations: 221.9 kB / 1.862 GB, free: 10.21 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/2.022, allocations: 142.1 kB / 1.862 GB, free: 10.08 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/2.022, allocations: 0 / 1.862 GB, free: 10.08 MB / 1.167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009932/2.023, allocations: 408.5 kB / 1.863 GB, free: 9.672 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/2.023, allocations: 280.3 kB / 1.863 GB, free: 9.379 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/2.023, allocations: 4 kB / 1.863 GB, free: 9.375 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/2.023, allocations: 48.77 kB / 1.863 GB, free: 9.324 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/2.024, allocations: 75.88 kB / 1.863 GB, free: 9.25 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00048/2.024, allocations: 0.564 MB / 1.864 GB, free: 8.66 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006497/2.025, allocations: 71.69 kB / 1.864 GB, free: 8.59 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.066e-05/2.025, allocations: 23.98 kB / 1.864 GB, free: 8.566 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/2.025, allocations: 9.406 kB / 1.864 GB, free: 8.559 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007135/2.026, allocations: 303.8 kB / 1.864 GB, free: 8.262 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/2.026, allocations: 0 / 1.864 GB, free: 8.262 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.154e-06/2.026, allocations: 4 kB / 1.864 GB, free: 8.258 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/2.026, allocations: 83.88 kB / 1.864 GB, free: 8.176 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/2.026, allocations: 3.984 kB / 1.864 GB, free: 8.172 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/2.027, allocations: 75.62 kB / 1.864 GB, free: 8.098 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/2.027, allocations: 12 kB / 1.864 GB, free: 8.086 MB / 1.167 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 (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003616/2.027, allocations: 257.6 kB / 1.864 GB, free: 7.824 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/2.027, allocations: 47.44 kB / 1.864 GB, free: 7.777 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/2.028, allocations: 431.8 kB / 1.865 GB, free: 7.344 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/2.028, allocations: 8 kB / 1.865 GB, free: 7.336 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/2.028, allocations: 0 / 1.865 GB, free: 7.336 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/2.028, allocations: 0 / 1.865 GB, free: 7.336 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/2.03, allocations: 0.9476 MB / 1.866 GB, free: 6.32 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/2.03, allocations: 0 / 1.866 GB, free: 6.32 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/2.03, allocations: 56.03 kB / 1.866 GB, free: 6.266 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/2.031, allocations: 40.83 kB / 1.866 GB, free: 6.223 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/2.031, allocations: 11.98 kB / 1.866 GB, free: 6.211 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003694/2.031, allocations: 0.5562 MB / 1.866 GB, free: 5.629 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/2.031, allocations: 4.031 kB / 1.866 GB, free: 5.625 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008727/2.032, allocations: 0.5527 MB / 1.867 GB, free: 5.016 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/2.032, allocations: 156.3 kB / 1.867 GB, free: 4.844 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/2.032, allocations: 11.98 kB / 1.867 GB, free: 4.832 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/2.033, allocations: 43.95 kB / 1.867 GB, free: 4.789 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/2.033, allocations: 23.92 kB / 1.867 GB, free: 4.766 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/2.033, allocations: 12 kB / 1.867 GB, free: 4.754 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003799/2.033, allocations: 318.9 kB / 1.868 GB, free: 4.445 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/2.033, allocations: 0 / 1.868 GB, free: 4.445 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001052/2.034, allocations: 283.6 kB / 1.868 GB, free: 4.168 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001934/2.036, allocations: 1.626 MB / 1.869 GB, free: 2.484 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001265/2.037, allocations: 485.4 kB / 1.87 GB, free: 2.012 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/2.038, allocations: 4 kB / 1.87 GB, free: 2.008 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003969/2.038, allocations: 171.6 kB / 1.87 GB, free: 1.84 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/2.039, allocations: 257.9 kB / 1.87 GB, free: 1.594 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6102/2.649, allocations: 1.635 MB / 1.872 GB, free: 361.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/2.65, allocations: 0.8668 MB / 1.873 GB, free: 360.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007881/2.651, allocations: 109.5 kB / 1.873 GB, free: 360.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/2.651, allocations: 179 kB / 1.873 GB, free: 360.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.583e-06/2.651, allocations: 0 / 1.873 GB, free: 360.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04244/2.694, allocations: 16.16 MB / 1.889 GB, free: 360.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/2.694, allocations: 242.9 kB / 1.889 GB, free: 360.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/5.364, allocations: 0 / 1.889 GB, free: 360.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat does not exist to compare? outputFormat=mat