Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.497/1.497, allocations: 288.4 MB / 303.6 MB, free: 8.02 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.0008817/0.0008817, allocations: 168.5 kB / 372.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.173/1.173, allocations: 205.4 MB / 0.631 GB, free: 9.941 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000694/0.000694, allocations: 90.25 kB / 0.7444 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003158, allocations: 15.81 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01104/0.1509, allocations: 19.05 MB / 0.9988 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003427/0.1543, allocations: 4.611 MB / 1.003 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.1545, allocations: 15.88 kB / 1.003 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.1549, allocations: 202.7 kB / 1.003 GB, free: 3.328 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009041/0.1558, allocations: 0.6979 MB / 1.004 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009676/0.1568, allocations: 0.6045 MB / 1.005 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009218/0.1577, allocations: 1.559 MB / 1.006 GB, free: 476 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.158, allocations: 368 kB / 1.007 GB, free: 112 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005587/0.1586, allocations: 0.5174 MB / 1.007 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.159, allocations: 422.2 kB / 1.008 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.1591, allocations: 20 kB / 1.008 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007302/0.1598, allocations: 0.573 MB / 1.008 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.1599, allocations: 103.5 kB / 1.008 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.1601, allocations: 280.4 kB / 1.008 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.1606, allocations: 0.5806 MB / 1.009 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1606, allocations: 0 / 1.009 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1606, allocations: 0 / 1.009 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.1606, allocations: 0 / 1.009 GB, free: 13.62 MB / 0.6355 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.001127/0.1618, allocations: 0.8332 MB / 1.01 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1618, allocations: 16.03 kB / 1.01 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.1619, allocations: 62.72 kB / 1.01 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.162, allocations: 64.19 kB / 1.01 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.1624, allocations: 459 kB / 1.01 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1625, allocations: 24.66 kB / 1.01 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.1625, allocations: 36 kB / 1.011 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.1631, allocations: 318 kB / 1.011 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1631, allocations: 0 / 1.011 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.1631, allocations: 12 kB / 1.011 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1631, allocations: 4 kB / 1.011 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/0.1637, allocations: 282.4 kB / 1.011 GB, free: 11.43 MB / 0.6355 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.001725/0.1654, allocations: 1.36 MB / 1.012 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.1658, allocations: 266.4 kB / 1.013 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.1661, allocations: 148.8 kB / 1.013 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/0.1665, allocations: 0.4908 MB / 1.013 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.1665, allocations: 34.56 kB / 1.013 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.202e-06/0.1665, allocations: 4 kB / 1.013 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.00148/0.168, allocations: 0.5924 MB / 1.014 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.168, allocations: 55.34 kB / 1.014 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.1684, allocations: 466.1 kB / 1.014 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.1684, allocations: 37.7 kB / 1.014 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.1686, allocations: 248.6 kB / 1.015 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.1686, allocations: 82.75 kB / 1.015 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.1687, allocations: 11.94 kB / 1.015 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.1688, allocations: 358.8 kB / 1.015 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.169, allocations: 127.7 kB / 1.015 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.1693, allocations: 184.8 kB / 1.015 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005226/0.1699, allocations: 292.6 kB / 1.016 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1699, allocations: 3.938 kB / 1.016 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008316/0.1707, allocations: 424.5 kB / 1.016 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/0.1708, allocations: 106.7 kB / 1.016 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1708, allocations: 7.938 kB / 1.016 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/0.1711, allocations: 56.75 kB / 1.016 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.1714, allocations: 71.95 kB / 1.016 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003126/0.1717, allocations: 0.564 MB / 1.017 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.1721, allocations: 67.05 kB / 1.017 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.1722, allocations: 24.05 kB / 1.017 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/0.1722, allocations: 4 kB / 1.017 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006199/0.1728, allocations: 311.7 kB / 1.017 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-06/0.1728, allocations: 0 / 1.017 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-06/0.1728, allocations: 4 kB / 1.017 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.1732, allocations: 87.88 kB / 1.017 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.1732, allocations: 0 / 1.017 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.1736, allocations: 63.73 kB / 1.017 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.1736, allocations: 15.98 kB / 1.017 GB, free: 4.531 MB / 0.6355 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.0001661/0.1738, allocations: 245 kB / 1.018 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.1738, allocations: 55.34 kB / 1.018 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007998/0.1747, allocations: 440.1 kB / 1.018 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1747, allocations: 11.94 kB / 1.018 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1747, allocations: 4 kB / 1.018 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1747, allocations: 3.984 kB / 1.018 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.1759, allocations: 0.9647 MB / 1.019 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1759, allocations: 0 / 1.019 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.1761, allocations: 56.03 kB / 1.019 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001379/0.1763, allocations: 44.84 kB / 1.019 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.1763, allocations: 15.92 kB / 1.019 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002533/0.1766, allocations: 0.5485 MB / 1.02 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.1766, allocations: 7.969 kB / 1.02 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006734/0.1773, allocations: 0.5068 MB / 1.02 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.1774, allocations: 160.3 kB / 1.02 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.1775, allocations: 4 kB / 1.02 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.1778, allocations: 43.95 kB / 1.02 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.1779, allocations: 27.91 kB / 1.02 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.1779, allocations: 12 kB / 1.02 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002768/0.1782, allocations: 318.9 kB / 1.021 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1782, allocations: 3.938 kB / 1.021 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005374/0.1787, allocations: 259.4 kB / 1.021 GB, free: 0.6641 MB / 0.6355 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.001154/0.1799, allocations: 1.182 MB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009631/0.1809, allocations: 498.7 kB / 1.023 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1809, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.1812, allocations: 183.8 kB / 1.023 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.1825, allocations: 250.2 kB / 1.023 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.1859, allocations: 2.694 MB / 1.026 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1862, allocations: 0.8588 MB / 1.027 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000351/0.1866, allocations: 116.7 kB / 1.027 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.1868, allocations: 183.3 kB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/0.1868, allocations: 0 / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.276/1.463, allocations: 14.54 MB / 1.041 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/1.463, allocations: 261.9 kB / 1.041 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/3.809, allocations: 0 / 1.041 GB, free: 11.98 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)