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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008638/0.0008639, allocations: 98.77 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.0009192/0.0009193, allocations: 177.3 kB / 15.94 MB, free: 228 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.438/1.438, allocations: 223.2 MB / 239.9 MB, free: 5.332 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.455/2.455, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.00039, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7217/0.7221, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01593/0.7381, allocations: 17.41 MB / 0.9706 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006299/0.7444, allocations: 3.987 MB / 0.9745 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007145/0.7452, allocations: 14.62 kB / 0.9745 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008461/0.746, allocations: 255.2 kB / 0.9747 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.7485, allocations: 0.8112 MB / 0.9755 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.7506, allocations: 0.77 MB / 0.9763 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001603/0.7522, allocations: 0.844 MB / 0.9771 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007968/0.753, allocations: 345.2 kB / 0.9774 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.7543, allocations: 469 kB / 0.9779 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000816/0.7551, allocations: 328.9 kB / 0.9782 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.7553, allocations: 20.41 kB / 0.9782 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.7565, allocations: 395.2 kB / 0.9786 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.7567, allocations: 103.7 kB / 0.9787 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002475/0.757, allocations: 122.9 kB / 0.9788 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007163/0.7577, allocations: 0.5158 MB / 0.9793 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.7577, allocations: 0 / 0.9793 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7577, allocations: 0 / 0.9793 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.7577, allocations: 0 / 0.9793 GB, free: 3.887 MB / 0.7325 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.001451/0.7592, allocations: 0.8221 MB / 0.9801 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.7592, allocations: 10.22 kB / 0.9801 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.867e-05/0.7593, allocations: 63.66 kB / 0.9802 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.7594, allocations: 71.23 kB / 0.9802 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/0.7601, allocations: 430 kB / 0.9807 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.7601, allocations: 27.69 kB / 0.9807 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.7602, allocations: 35.56 kB / 0.9807 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.7609, allocations: 319.5 kB / 0.981 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7609, allocations: 1.531 kB / 0.981 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.7609, allocations: 10.59 kB / 0.981 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.761, allocations: 6.656 kB / 0.981 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006387/0.7616, allocations: 282.8 kB / 0.9813 GB, free: 2.383 MB / 0.7325 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.002213/0.7638, allocations: 1.351 MB / 0.9826 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006846/0.7645, allocations: 289.7 kB / 0.9829 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004308/0.765, allocations: 0.4892 MB / 0.9834 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.765, allocations: 45.36 kB / 0.9834 GB, free: 476 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/0.765, allocations: 0 / 0.9834 GB, free: 476 kB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.001811/0.7668, allocations: 0.5832 MB / 0.984 GB, free: 136 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.7669, allocations: 58.58 kB / 0.9841 GB, free: 68 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/0.7674, allocations: 461.5 kB / 0.9845 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.7675, allocations: 32.8 kB / 0.9845 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.7677, allocations: 246.7 kB / 0.9848 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/0.7677, allocations: 80.77 kB / 0.9848 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/0.7678, allocations: 9.25 kB / 0.9848 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7679, allocations: 361.8 kB / 0.9852 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.7683, allocations: 124.9 kB / 0.9853 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.7686, allocations: 184.5 kB / 0.9855 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.769, allocations: 150.7 kB / 0.9856 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.769, allocations: 0 / 0.9856 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009715/0.77, allocations: 415.4 kB / 0.986 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.7701, allocations: 278.9 kB / 0.9863 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.7702, allocations: 0 / 0.9863 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/0.7705, allocations: 56.75 kB / 0.9863 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.7709, allocations: 75.89 kB / 0.9864 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004347/0.7713, allocations: 0.5718 MB / 0.987 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.7718, allocations: 63.73 kB / 0.987 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.7719, allocations: 19.98 kB / 0.9871 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.7719, allocations: 4.938 kB / 0.9871 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007161/0.7726, allocations: 325.2 kB / 0.9874 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.7726, allocations: 0 / 0.9874 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-06/0.7727, allocations: 0 / 0.9874 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.7731, allocations: 83.89 kB / 0.9875 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.7731, allocations: 8 kB / 0.9875 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.7735, allocations: 67.62 kB / 0.9875 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.7736, allocations: 12 kB / 0.9875 GB, free: 12.84 MB / 0.7481 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.000248/0.7738, allocations: 253 kB / 0.9878 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.7739, allocations: 43.44 kB / 0.9878 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000948/0.7749, allocations: 455.9 kB / 0.9883 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.7749, allocations: 0 / 0.9883 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7749, allocations: 0 / 0.9883 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.7749, allocations: 4 kB / 0.9883 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.7764, allocations: 0.9691 MB / 0.9892 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.7764, allocations: 4 kB / 0.9892 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.7767, allocations: 51.91 kB / 0.9893 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001681/0.7769, allocations: 44.81 kB / 0.9893 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.7769, allocations: 8 kB / 0.9893 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003369/0.7772, allocations: 0.5681 MB / 0.9899 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7773, allocations: 3.984 kB / 0.9899 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008067/0.7781, allocations: 0.5487 MB / 0.9904 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.7783, allocations: 156.3 kB / 0.9906 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.7783, allocations: 8 kB / 0.9906 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.7787, allocations: 43.95 kB / 0.9906 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.7788, allocations: 27.86 kB / 0.9906 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.7788, allocations: 8 kB / 0.9906 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003368/0.7792, allocations: 322.9 kB / 0.9909 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7792, allocations: 0 / 0.9909 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007802/0.7799, allocations: 255.5 kB / 0.9912 GB, free: 8.906 MB / 0.7481 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.001579/0.7815, allocations: 1.502 MB / 0.9927 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.7827, allocations: 487.1 kB / 0.9931 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.7827, allocations: 4 kB / 0.9931 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.7831, allocations: 181.7 kB / 0.9933 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.7845, allocations: 257.5 kB / 0.9935 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.7864, allocations: 1.636 MB / 0.9951 GB, free: 4.746 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.7868, allocations: 0.863 MB / 0.996 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004222/0.7873, allocations: 124.2 kB / 0.9961 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.7875, allocations: 175.4 kB / 0.9963 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of SimCode: time 3.2e-07/0.7875, allocations: 3.938 kB / 0.9963 GB, free: 3.559 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.8168, allocations: 14.13 MB / 1.01 GB, free: 5.762 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.817, allocations: 249.3 kB / 1.01 GB, free: 5.43 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.847, allocations: 4 kB / 1.01 GB, free: 5.426 MB / 0.7637 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