Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 292.6 MB / 307.5 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001734/0.001734, allocations: 177 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.6366 GB, free: 8.629 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 88.42 kB / 0.7509 GB, free: 63.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.000486, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3412, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.28/1.622, allocations: 379.8 MB / 1.359 GB, free: 10.35 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003791/1.622, allocations: 86.12 kB / 1.359 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.33/2.952, allocations: 252.4 MB / 1.606 GB, free: 129.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.655e-06/2.952, allocations: 0 / 1.606 GB, free: 129.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.722e-05/2.952, allocations: 23.92 kB / 1.606 GB, free: 129.6 MB / 0.9323 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.002151/2.954, allocations: 0.932 MB / 1.607 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.732e-05/2.954, allocations: 12.02 kB / 1.607 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.887e-05/2.954, allocations: 62.55 kB / 1.607 GB, free: 128.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/2.954, allocations: 63.25 kB / 1.607 GB, free: 128.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008462/2.955, allocations: 478.9 kB / 1.607 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/2.955, allocations: 32.59 kB / 1.607 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/2.955, allocations: 32 kB / 1.607 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/2.956, allocations: 314 kB / 1.608 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/2.956, allocations: 0 / 1.608 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/2.956, allocations: 8 kB / 1.608 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/2.956, allocations: 8 kB / 1.608 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005449/2.957, allocations: 270.5 kB / 1.608 GB, free: 127.3 MB / 0.9323 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.001949/2.959, allocations: 1.333 MB / 1.609 GB, free: 125.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/2.959, allocations: 278.5 kB / 1.61 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003963/2.96, allocations: 0.4991 MB / 1.61 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/2.96, allocations: 30.56 kB / 1.61 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 2.605e-06/2.96, allocations: 0 / 1.61 GB, free: 124.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.001668/2.961, allocations: 0.5827 MB / 1.611 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/2.961, allocations: 59.34 kB / 1.611 GB, free: 124.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/2.962, allocations: 409.3 kB / 1.611 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/2.962, allocations: 29.7 kB / 1.611 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/2.962, allocations: 248.9 kB / 1.611 GB, free: 123.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/2.962, allocations: 86.75 kB / 1.611 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/2.962, allocations: 7.938 kB / 1.611 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001372/2.962, allocations: 354.8 kB / 1.612 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/2.962, allocations: 123.7 kB / 1.612 GB, free: 123 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/2.963, allocations: 222.1 kB / 1.612 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/2.963, allocations: 143.6 kB / 1.612 GB, free: 122.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/2.963, allocations: 0 / 1.612 GB, free: 122.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000835/2.964, allocations: 410.8 kB / 1.613 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000148/2.964, allocations: 282.9 kB / 1.613 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/2.964, allocations: 0 / 1.613 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/2.964, allocations: 48.75 kB / 1.613 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/2.965, allocations: 71.95 kB / 1.613 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004309/2.965, allocations: 0.5679 MB / 1.614 GB, free: 121.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/2.966, allocations: 75.69 kB / 1.614 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/2.966, allocations: 19.92 kB / 1.614 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/2.966, allocations: 5.25 kB / 1.614 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006574/2.967, allocations: 303.7 kB / 1.614 GB, free: 120.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/2.967, allocations: 0 / 1.614 GB, free: 120.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-06/2.967, allocations: 4 kB / 1.614 GB, free: 120.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/2.967, allocations: 91.88 kB / 1.614 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/2.967, allocations: 0 / 1.614 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/2.967, allocations: 67.83 kB / 1.614 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/2.967, allocations: 19.98 kB / 1.614 GB, free: 120.6 MB / 0.9323 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.0002901/2.968, allocations: 249 kB / 1.614 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/2.968, allocations: 47.42 kB / 1.614 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008726/2.969, allocations: 434.5 kB / 1.615 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/2.969, allocations: 7.938 kB / 1.615 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/2.969, allocations: 0 / 1.615 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/2.969, allocations: 0 / 1.615 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/2.97, allocations: 0.9525 MB / 1.616 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/2.97, allocations: 4 kB / 1.616 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/2.97, allocations: 59.89 kB / 1.616 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001631/2.971, allocations: 44.81 kB / 1.616 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/2.971, allocations: 8 kB / 1.616 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002845/2.971, allocations: 0.5603 MB / 1.616 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/2.971, allocations: 3.938 kB / 1.616 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/2.972, allocations: 0.5491 MB / 1.617 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/2.972, allocations: 160.3 kB / 1.617 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/2.972, allocations: 4 kB / 1.617 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/2.972, allocations: 43.95 kB / 1.617 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/2.972, allocations: 31.86 kB / 1.617 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/2.972, allocations: 15.98 kB / 1.617 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003177/2.973, allocations: 314.9 kB / 1.618 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/2.973, allocations: 4 kB / 1.618 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009646/2.974, allocations: 275.6 kB / 1.618 GB, free: 116.7 MB / 0.9323 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.001692/2.975, allocations: 1.615 MB / 1.619 GB, free: 115 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001101/2.976, allocations: 484.3 kB / 1.62 GB, free: 114.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/2.977, allocations: 0 / 1.62 GB, free: 114.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003514/2.977, allocations: 173.9 kB / 1.62 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/2.978, allocations: 257.3 kB / 1.62 GB, free: 114.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/2.98, allocations: 1.639 MB / 1.622 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/2.98, allocations: 0.8747 MB / 1.623 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004305/2.981, allocations: 116.2 kB / 1.623 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/2.981, allocations: 171.4 kB / 1.623 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of SimCode: time 2.41e-07/2.981, allocations: 0 / 1.623 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/3.015, allocations: 16.16 MB / 1.639 GB, free: 95.28 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/3.015, allocations: 245.3 kB / 1.639 GB, free: 95 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.975/5.991, allocations: 0 / 1.639 GB, free: 95 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)