Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.Examples.CheckValve,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_CheckValve",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.72/2.72, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001248/0.001248, allocations: 187.9 kB / 0.4901 GB, free: 2.262 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.675/1.675, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001034/0.001034, allocations: 94.16 kB / 0.9396 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003872, allocations: 10.59 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.356, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.311/1.667, allocations: 391.4 MB / 1.612 GB, free: 5.395 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/1.667, allocations: 88.44 kB / 1.612 GB, free: 5.348 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.5922/2.259, allocations: 257.4 MB / 1.863 GB, free: 4.258 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.054e-06/2.26, allocations: 0 / 1.863 GB, free: 4.258 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.841e-05/2.26, allocations: 16 kB / 1.863 GB, free: 4.242 MB / 1.167 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.002113/2.262, allocations: 0.9343 MB / 1.864 GB, free: 3.25 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/2.262, allocations: 8.031 kB / 1.864 GB, free: 3.242 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/2.262, allocations: 74.52 kB / 1.864 GB, free: 3.16 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/2.262, allocations: 67.2 kB / 1.864 GB, free: 3.094 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009426/2.263, allocations: 467.5 kB / 1.864 GB, free: 2.598 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/2.263, allocations: 28.59 kB / 1.865 GB, free: 2.57 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/2.263, allocations: 40 kB / 1.865 GB, free: 2.531 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/2.264, allocations: 306 kB / 1.865 GB, free: 2.23 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/2.264, allocations: 4 kB / 1.865 GB, free: 2.227 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/2.264, allocations: 8 kB / 1.865 GB, free: 2.219 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/2.264, allocations: 8 kB / 1.865 GB, free: 2.211 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/2.265, allocations: 278.4 kB / 1.865 GB, free: 1.934 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.002329/2.267, allocations: 1.325 MB / 1.866 GB, free: 500 kB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/2.268, allocations: 279.3 kB / 1.867 GB, free: 212 kB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9049/3.173, allocations: 0.497 MB / 1.867 GB, free: 355.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.755e-05/3.173, allocations: 39.59 kB / 1.867 GB, free: 355.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 3.386e-06/3.173, allocations: 0 / 1.867 GB, free: 355.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.002636/3.175, allocations: 0.5741 MB / 1.868 GB, free: 355 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/3.175, allocations: 60.66 kB / 1.868 GB, free: 354.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007669/3.176, allocations: 404.4 kB / 1.868 GB, free: 354.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/3.176, allocations: 35.45 kB / 1.868 GB, free: 354.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/3.177, allocations: 245.4 kB / 1.868 GB, free: 354.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.42e-05/3.177, allocations: 88.05 kB / 1.869 GB, free: 354.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/3.177, allocations: 4.562 kB / 1.869 GB, free: 354.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001516/3.177, allocations: 357.4 kB / 1.869 GB, free: 354.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/3.177, allocations: 122.4 kB / 1.869 GB, free: 354.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/3.178, allocations: 219.2 kB / 1.869 GB, free: 354.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/3.178, allocations: 140.6 kB / 1.869 GB, free: 354.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/3.178, allocations: 0 / 1.869 GB, free: 354.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00097/3.179, allocations: 418.6 kB / 1.87 GB, free: 354.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/3.179, allocations: 274.4 kB / 1.87 GB, free: 353.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/3.179, allocations: 0 / 1.87 GB, free: 353.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/3.179, allocations: 44.5 kB / 1.87 GB, free: 353.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/3.18, allocations: 76.09 kB / 1.87 GB, free: 353.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004805/3.18, allocations: 0.562 MB / 1.871 GB, free: 353.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00065/3.181, allocations: 76.81 kB / 1.871 GB, free: 353.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/3.181, allocations: 16.02 kB / 1.871 GB, free: 353.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/3.181, allocations: 5.844 kB / 1.871 GB, free: 353.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007549/3.182, allocations: 315 kB / 1.871 GB, free: 353.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/3.182, allocations: 0 / 1.871 GB, free: 353.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.169e-06/3.182, allocations: 2.75 kB / 1.871 GB, free: 353.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/3.182, allocations: 85.69 kB / 1.871 GB, free: 353.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/3.182, allocations: 0 / 1.871 GB, free: 353.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/3.183, allocations: 65.86 kB / 1.871 GB, free: 353.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/3.183, allocations: 20.98 kB / 1.871 GB, free: 353.4 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.0003695/3.183, allocations: 255.5 kB / 1.872 GB, free: 353.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/3.183, allocations: 51.03 kB / 1.872 GB, free: 353.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/3.184, allocations: 426.8 kB / 1.872 GB, free: 353.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/3.184, allocations: 4.562 kB / 1.872 GB, free: 353.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/3.184, allocations: 0 / 1.872 GB, free: 353.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/3.184, allocations: 0 / 1.872 GB, free: 353.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/3.186, allocations: 0.9491 MB / 1.873 GB, free: 352.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/3.186, allocations: 4.406 kB / 1.873 GB, free: 352.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/3.187, allocations: 57.16 kB / 1.873 GB, free: 352.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/3.187, allocations: 41.81 kB / 1.873 GB, free: 352.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/3.187, allocations: 8.547 kB / 1.873 GB, free: 352.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004303/3.187, allocations: 0.5694 MB / 1.874 GB, free: 352.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/3.187, allocations: 2.438 kB / 1.874 GB, free: 352.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/3.188, allocations: 0.5369 MB / 1.874 GB, free: 351.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/3.189, allocations: 159.5 kB / 1.874 GB, free: 351.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.296e-05/3.189, allocations: 5.938 kB / 1.874 GB, free: 351.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/3.189, allocations: 49.98 kB / 1.874 GB, free: 351.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/3.189, allocations: 30.62 kB / 1.874 GB, free: 351.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/3.189, allocations: 10.86 kB / 1.874 GB, free: 351.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004877/3.19, allocations: 318 kB / 1.875 GB, free: 351.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/3.19, allocations: 0 / 1.875 GB, free: 351.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001225/3.191, allocations: 278.1 kB / 1.875 GB, free: 351.7 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.002124/3.193, allocations: 1.622 MB / 1.876 GB, free: 350.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001404/3.195, allocations: 485.2 kB / 1.877 GB, free: 350.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/3.195, allocations: 0 / 1.877 GB, free: 350.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004862/3.195, allocations: 175.5 kB / 1.877 GB, free: 350.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/3.197, allocations: 259.3 kB / 1.877 GB, free: 350.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/3.199, allocations: 1.648 MB / 1.879 GB, free: 349.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/3.2, allocations: 0.8678 MB / 1.88 GB, free: 348.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005664/3.2, allocations: 109.9 kB / 1.88 GB, free: 348.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/3.201, allocations: 172.7 kB / 1.88 GB, free: 348.9 MB / 1.167 GB Notification: Performance of SimCode: time 5.41e-07/3.201, allocations: 0 / 1.88 GB, free: 348.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05197/3.253, allocations: 16.17 MB / 1.896 GB, free: 348.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/3.253, allocations: 255.6 kB / 1.896 GB, free: 348.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/5.975, allocations: 6.906 kB / 1.896 GB, free: 348.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat does not exist to compare? outputFormat=mat