Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.205/1.205, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008658/0.0008659, allocations: 173.5 kB / 325.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007054/0.0007052, allocations: 78.73 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002702, allocations: 8.375 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1336, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01206/0.1457, allocations: 20.34 MB / 0.9161 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004138/0.1498, allocations: 4.933 MB / 0.9209 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.1501, allocations: 15.88 kB / 0.9209 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.1506, allocations: 218.7 kB / 0.9211 GB, free: 42.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.1517, allocations: 0.7503 MB / 0.9218 GB, free: 41.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.1529, allocations: 0.6408 MB / 0.9225 GB, free: 41.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001037/0.1539, allocations: 1.813 MB / 0.9242 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003416/0.1542, allocations: 367.9 kB / 0.9246 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005481/0.1548, allocations: 0.5289 MB / 0.9251 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.1552, allocations: 450.1 kB / 0.9255 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.1552, allocations: 20 kB / 0.9255 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007069/0.1559, allocations: 0.5925 MB / 0.9261 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.206e-05/0.156, allocations: 107.5 kB / 0.9262 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.1562, allocations: 270.5 kB / 0.9265 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005848/0.1568, allocations: 0.8098 MB / 0.9273 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1568, allocations: 0 / 0.9273 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1568, allocations: 0 / 0.9273 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.1568, allocations: 0 / 0.9273 GB, free: 36.18 MB / 0.6042 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.0009982/0.1578, allocations: 0.8371 MB / 0.9281 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1578, allocations: 12.03 kB / 0.9281 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.1579, allocations: 62.72 kB / 0.9282 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.158, allocations: 64.19 kB / 0.9282 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.1584, allocations: 455.2 kB / 0.9287 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1584, allocations: 24.66 kB / 0.9287 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.1585, allocations: 39.98 kB / 0.9287 GB, free: 34.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004581/0.1589, allocations: 310 kB / 0.929 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.1589, allocations: 0 / 0.929 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.159, allocations: 16 kB / 0.929 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.159, allocations: 8 kB / 0.929 GB, free: 34.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.1595, allocations: 282.4 kB / 0.9293 GB, free: 33.99 MB / 0.6042 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.001457/0.1609, allocations: 1.353 MB / 0.9306 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.1613, allocations: 274.4 kB / 0.9309 GB, free: 32.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.1616, allocations: 144.8 kB / 0.931 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/0.1618, allocations: 0.4947 MB / 0.9315 GB, free: 31.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.234e-05/0.1618, allocations: 38.56 kB / 0.9316 GB, free: 31.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.282e-06/0.1618, allocations: 0 / 0.9316 GB, free: 31.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001365/0.1632, allocations: 0.6068 MB / 0.9321 GB, free: 30.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/0.1632, allocations: 55.41 kB / 0.9322 GB, free: 30.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.1636, allocations: 462.1 kB / 0.9326 GB, free: 30.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1636, allocations: 33.7 kB / 0.9327 GB, free: 30.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.1637, allocations: 248.4 kB / 0.9329 GB, free: 29.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.1637, allocations: 90.73 kB / 0.933 GB, free: 29.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.1638, allocations: 33.7 kB / 0.933 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.183e-05/0.1638, allocations: 358.8 kB / 0.9334 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.1641, allocations: 131.7 kB / 0.9335 GB, free: 29.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.1644, allocations: 196.8 kB / 0.9337 GB, free: 29.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.1649, allocations: 286.4 kB / 0.934 GB, free: 28.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1649, allocations: 0 / 0.934 GB, free: 28.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00123/0.1661, allocations: 0.509 MB / 0.9345 GB, free: 28.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.1661, allocations: 106.7 kB / 0.9346 GB, free: 28.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1662, allocations: 7.938 kB / 0.9346 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002764/0.1664, allocations: 48.81 kB / 0.9346 GB, free: 28.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.1667, allocations: 79.88 kB / 0.9347 GB, free: 28.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002403/0.167, allocations: 0.564 MB / 0.9352 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.1674, allocations: 69.7 kB / 0.9353 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.1674, allocations: 15.98 kB / 0.9353 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.598e-06/0.1674, allocations: 4 kB / 0.9353 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000557/0.168, allocations: 319.6 kB / 0.9356 GB, free: 27.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-06/0.168, allocations: 0 / 0.9356 GB, free: 27.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-06/0.168, allocations: 4 kB / 0.9356 GB, free: 27.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.1683, allocations: 83.89 kB / 0.9357 GB, free: 27.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.1684, allocations: 3.984 kB / 0.9357 GB, free: 27.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.1687, allocations: 67.64 kB / 0.9358 GB, free: 26.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.1687, allocations: 12 kB / 0.9358 GB, free: 26.95 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.1689, allocations: 253 kB / 0.936 GB, free: 26.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.1689, allocations: 47.44 kB / 0.9361 GB, free: 26.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007384/0.1697, allocations: 448.1 kB / 0.9365 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1697, allocations: 0 / 0.9365 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1697, allocations: 0 / 0.9365 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1697, allocations: 11.92 kB / 0.9365 GB, free: 26.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.1708, allocations: 0.9561 MB / 0.9374 GB, free: 25.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1708, allocations: 8.031 kB / 0.9375 GB, free: 25.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.171, allocations: 55.91 kB / 0.9375 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/0.1711, allocations: 44.77 kB / 0.9376 GB, free: 25.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.1712, allocations: 8 kB / 0.9376 GB, free: 25.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000187/0.1713, allocations: 0.5639 MB / 0.9381 GB, free: 24.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1714, allocations: 4.031 kB / 0.9381 GB, free: 24.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.172, allocations: 0.5094 MB / 0.9386 GB, free: 23.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1721, allocations: 152.4 kB / 0.9388 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.1721, allocations: 11.98 kB / 0.9388 GB, free: 23.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.1724, allocations: 43.84 kB / 0.9388 GB, free: 23.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.1725, allocations: 28.02 kB / 0.9388 GB, free: 23.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.1725, allocations: 15.92 kB / 0.9389 GB, free: 23.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002212/0.1728, allocations: 326.9 kB / 0.9392 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1728, allocations: 0 / 0.9392 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005158/0.1733, allocations: 247.5 kB / 0.9394 GB, free: 23.08 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/0.1743, allocations: 1.196 MB / 0.9406 GB, free: 21.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009003/0.1752, allocations: 499 kB / 0.941 GB, free: 21.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1752, allocations: 0 / 0.941 GB, free: 21.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.1755, allocations: 178.8 kB / 0.9412 GB, free: 21.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.1767, allocations: 249.7 kB / 0.9415 GB, free: 20.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/0.1814, allocations: 4.293 MB / 0.9456 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.1817, allocations: 0.8549 MB / 0.9465 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003731/0.182, allocations: 116.2 kB / 0.9466 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.1822, allocations: 175.4 kB / 0.9468 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of SimCode: time 4.1e-07/0.1822, allocations: 0 / 0.9468 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4998/0.682, allocations: 14.44 MB / 0.9609 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.6823, allocations: 288.1 kB / 0.9611 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/3.037, allocations: 0 / 0.9611 GB, free: 0.8359 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)