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.434/2.434, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001008/0.001007, allocations: 176.9 kB / 492.3 MB, free: 0.6016 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.499/1.499, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009907/0.0009905, allocations: 98.44 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.859e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2434, allocations: 142.3 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9915/1.235, allocations: 390.6 MB / 1.594 GB, free: 7.121 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/1.235, allocations: 85.33 kB / 1.594 GB, free: 7.078 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.156/2.391, allocations: 256.7 MB / 1.845 GB, free: 357.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.303e-06/2.391, allocations: 0 / 1.845 GB, free: 357.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.834e-05/2.391, allocations: 22.44 kB / 1.845 GB, free: 357.6 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.0019/2.393, allocations: 0.8353 MB / 1.845 GB, free: 356.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/2.393, allocations: 7.656 kB / 1.845 GB, free: 356.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/2.393, allocations: 65.56 kB / 1.846 GB, free: 356.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/2.393, allocations: 71.23 kB / 1.846 GB, free: 356.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009298/2.394, allocations: 459.9 kB / 1.846 GB, free: 356.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/2.394, allocations: 29.06 kB / 1.846 GB, free: 356.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/2.394, allocations: 35.5 kB / 1.846 GB, free: 356.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/2.395, allocations: 270.4 kB / 1.846 GB, free: 356.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/2.395, allocations: 0 / 1.846 GB, free: 356.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/2.395, allocations: 19.25 kB / 1.846 GB, free: 356.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/2.395, allocations: 10.78 kB / 1.846 GB, free: 356.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/2.395, allocations: 196.5 kB / 1.847 GB, free: 356.2 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.00228/2.398, allocations: 1.332 MB / 1.848 GB, free: 355.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/2.398, allocations: 235.6 kB / 1.848 GB, free: 355 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/2.398, allocations: 109.8 kB / 1.848 GB, free: 354.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003584/2.399, allocations: 0.4942 MB / 1.849 GB, free: 354.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/2.399, allocations: 38.48 kB / 1.849 GB, free: 354.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/2.399, allocations: 224 / 1.849 GB, free: 354.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.0006173/2.399, allocations: 265.8 kB / 1.849 GB, free: 354.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/2.399, allocations: 66.42 kB / 1.849 GB, free: 354.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/2.4, allocations: 395.2 kB / 1.849 GB, free: 353.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/2.4, allocations: 29.7 kB / 1.849 GB, free: 353.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/2.4, allocations: 254.2 kB / 1.85 GB, free: 353.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.656e-05/2.4, allocations: 81.09 kB / 1.85 GB, free: 353.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/2.4, allocations: 8 kB / 1.85 GB, free: 353.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/2.4, allocations: 362.3 kB / 1.85 GB, free: 353.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/2.4, allocations: 84.77 kB / 1.85 GB, free: 353.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/2.401, allocations: 177 kB / 1.85 GB, free: 353 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/2.401, allocations: 107.8 kB / 1.85 GB, free: 353 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/2.401, allocations: 0 / 1.85 GB, free: 353 MB / 1.151 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000637/2.402, allocations: 338.9 kB / 1.851 GB, free: 352.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.224e-05/2.402, allocations: 277.6 kB / 1.851 GB, free: 352.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/2.402, allocations: 0 / 1.851 GB, free: 352.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/2.402, allocations: 42.08 kB / 1.851 GB, free: 352.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/2.402, allocations: 79.3 kB / 1.851 GB, free: 352.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003476/2.403, allocations: 0.5678 MB / 1.852 GB, free: 351.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/2.403, allocations: 68.61 kB / 1.852 GB, free: 351.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/2.403, allocations: 18.86 kB / 1.852 GB, free: 351.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/2.403, allocations: 5.031 kB / 1.852 GB, free: 351.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003918/2.404, allocations: 240.4 kB / 1.852 GB, free: 351.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/2.404, allocations: 3.812 kB / 1.852 GB, free: 351.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-06/2.404, allocations: 0 / 1.852 GB, free: 351.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/2.404, allocations: 96.81 kB / 1.852 GB, free: 351.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/2.404, allocations: 0 / 1.852 GB, free: 351.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/2.405, allocations: 70.44 kB / 1.852 GB, free: 351.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/2.405, allocations: 15.59 kB / 1.852 GB, free: 351.7 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 (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.0001103/2.405, allocations: 125.2 kB / 1.852 GB, free: 351.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-05/2.405, allocations: 57.84 kB / 1.852 GB, free: 351.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/2.405, allocations: 366.9 kB / 1.853 GB, free: 351.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.659e-06/2.406, allocations: 3.875 kB / 1.853 GB, free: 351.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/2.406, allocations: 0 / 1.853 GB, free: 351.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/2.406, allocations: 0 / 1.853 GB, free: 351.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/2.407, allocations: 0.8777 MB / 1.854 GB, free: 350.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.407, allocations: 0 / 1.854 GB, free: 350.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/2.407, allocations: 61.77 kB / 1.854 GB, free: 350.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/2.407, allocations: 45.89 kB / 1.854 GB, free: 350.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/2.407, allocations: 7.969 kB / 1.854 GB, free: 350.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002387/2.407, allocations: 0.5581 MB / 1.854 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/2.407, allocations: 0 / 1.854 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005295/2.408, allocations: 493.3 kB / 1.855 GB, free: 349.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/2.408, allocations: 159.3 kB / 1.855 GB, free: 349.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/2.408, allocations: 7.844 kB / 1.855 GB, free: 349.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/2.409, allocations: 50.61 kB / 1.855 GB, free: 349.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/2.409, allocations: 15.06 kB / 1.855 GB, free: 349.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/2.409, allocations: 19.61 kB / 1.855 GB, free: 349.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003123/2.409, allocations: 312.5 kB / 1.855 GB, free: 349.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/2.409, allocations: 0 / 1.855 GB, free: 349.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008909/2.41, allocations: 284.4 kB / 1.856 GB, free: 349.2 MB / 1.151 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 () * 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.001351/2.411, allocations: 1.557 MB / 1.857 GB, free: 348 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008924/2.412, allocations: 387.5 kB / 1.857 GB, free: 347.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/2.412, allocations: 7.406 kB / 1.857 GB, free: 347.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000298/2.413, allocations: 135.2 kB / 1.858 GB, free: 347.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/2.414, allocations: 256.9 kB / 1.858 GB, free: 347.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/2.416, allocations: 0.7094 MB / 1.859 GB, free: 347.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/2.416, allocations: 0.8653 MB / 1.859 GB, free: 346.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006038/2.417, allocations: 144.7 kB / 1.859 GB, free: 346.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/2.417, allocations: 166.9 kB / 1.86 GB, free: 346.2 MB / 1.151 GB Notification: Performance of SimCode: time 4.91e-07/2.417, allocations: 0 / 1.86 GB, free: 346.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/2.45, allocations: 17.36 MB / 1.877 GB, free: 330.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/2.45, allocations: 225 kB / 1.877 GB, free: 330.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/5.041, allocations: 0 / 1.877 GB, free: 330.2 MB / 1.151 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