Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001228/0.001228, allocations: 193.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8122/0.8122, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.47 kB / 0.5685 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1494, allocations: 77.94 MB / 0.6446 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01983/0.1693, allocations: 20.73 MB / 0.6648 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00681/0.1761, allocations: 4.939 MB / 0.6697 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000605/0.1768, allocations: 19.88 kB / 0.6697 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008331/0.1776, allocations: 274 kB / 0.6699 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.1798, allocations: 0.816 MB / 0.6707 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.1816, allocations: 0.7264 MB / 0.6714 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.1833, allocations: 1.386 MB / 0.6728 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000551/0.1838, allocations: 436.4 kB / 0.6732 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000874/0.1847, allocations: 0.5797 MB / 0.6738 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005699/0.1853, allocations: 442.1 kB / 0.6742 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.1854, allocations: 36 kB / 0.6742 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.1866, allocations: 0.6355 MB / 0.6749 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.1867, allocations: 127.5 kB / 0.675 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.187, allocations: 290.5 kB / 0.6752 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.1882, allocations: 0.8444 MB / 0.6761 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1882, allocations: 0 / 0.6761 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1883, allocations: 0 / 0.6761 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.1883, allocations: 0 / 0.6761 GB, free: 8.621 MB / 0.5137 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.001491/0.1898, allocations: 0.949 MB / 0.677 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1898, allocations: 12.62 kB / 0.677 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.1899, allocations: 64.56 kB / 0.6771 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007157/0.1907, allocations: 479.8 kB / 0.6775 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.1907, allocations: 28.66 kB / 0.6776 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.1908, allocations: 36 kB / 0.6776 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.1914, allocations: 306 kB / 0.6779 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1914, allocations: 3.984 kB / 0.6779 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.1915, allocations: 12 kB / 0.6779 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1915, allocations: 8 kB / 0.6779 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006315/0.1921, allocations: 262.4 kB / 0.6782 GB, free: 6.387 MB / 0.5137 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.002178/0.1943, allocations: 1.341 MB / 0.6795 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005344/0.1948, allocations: 262.4 kB / 0.6797 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.1951, allocations: 128.8 kB / 0.6798 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004231/0.1956, allocations: 0.4947 MB / 0.6803 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1956, allocations: 38.56 kB / 0.6804 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.1956, allocations: 0 / 0.6804 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.001803/0.1974, allocations: 0.5724 MB / 0.6809 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.1975, allocations: 59.34 kB / 0.681 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005165/0.198, allocations: 462.2 kB / 0.6814 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.1981, allocations: 29.7 kB / 0.6814 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.1982, allocations: 248.6 kB / 0.6817 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/0.1983, allocations: 91.2 kB / 0.6818 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1985, allocations: 85.62 kB / 0.6819 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1986, allocations: 354.8 kB / 0.6822 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.1989, allocations: 120.8 kB / 0.6823 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.1993, allocations: 184.8 kB / 0.6825 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/0.1999, allocations: 268.6 kB / 0.6827 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1999, allocations: 0 / 0.6827 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001548/0.2015, allocations: 494.5 kB / 0.6832 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2015, allocations: 8 kB / 0.6832 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2015, allocations: 4 kB / 0.6832 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003654/0.2019, allocations: 48.81 kB / 0.6833 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.2023, allocations: 75.88 kB / 0.6833 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004163/0.2027, allocations: 0.5602 MB / 0.6839 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.2031, allocations: 59.75 kB / 0.6839 GB, free: 72 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.2032, allocations: 12 kB / 0.684 GB, free: 60 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004393/0.2036, allocations: 240 kB / 0.6842 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003513/0.204, allocations: 185.5 kB / 0.6844 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005757/0.2046, allocations: 261.1 kB / 0.6846 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.2046, allocations: 0 / 0.6846 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008096/0.2054, allocations: 374.6 kB / 0.685 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.2054, allocations: 8 kB / 0.685 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.2054, allocations: 0 / 0.685 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-06/0.2054, allocations: 0 / 0.685 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.2058, allocations: 87.81 kB / 0.6851 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.2058, allocations: 4 kB / 0.6851 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.2062, allocations: 43.84 kB / 0.6851 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.2063, allocations: 23.98 kB / 0.6851 GB, free: 14.82 MB / 0.5294 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.000157/0.2065, allocations: 200.1 kB / 0.6853 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.2065, allocations: 55.62 kB / 0.6854 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009994/0.2076, allocations: 419.8 kB / 0.6858 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.2076, allocations: 3.938 kB / 0.6858 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2076, allocations: 8 kB / 0.6858 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.2076, allocations: 3.984 kB / 0.6858 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.2091, allocations: 0.9454 MB / 0.6867 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.2092, allocations: 4 kB / 0.6867 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.2094, allocations: 47.91 kB / 0.6868 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.2096, allocations: 40.83 kB / 0.6868 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.2096, allocations: 8 kB / 0.6868 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003428/0.21, allocations: 0.5564 MB / 0.6873 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.21, allocations: 16.02 kB / 0.6874 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008046/0.2108, allocations: 492 kB / 0.6878 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.211, allocations: 152.7 kB / 0.688 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-05/0.2111, allocations: 11.98 kB / 0.688 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.2114, allocations: 23.97 kB / 0.688 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.2115, allocations: 27.84 kB / 0.688 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.2115, allocations: 12 kB / 0.6881 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003669/0.2119, allocations: 326.9 kB / 0.6884 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2119, allocations: 0 / 0.6884 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007779/0.2127, allocations: 255.5 kB / 0.6886 GB, free: 11.09 MB / 0.5294 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.0004975/0.2132, allocations: 243.9 kB / 0.6888 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.2144, allocations: 477.2 kB / 0.6893 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.2144, allocations: 4 kB / 0.6893 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.2148, allocations: 164.3 kB / 0.6895 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.2159, allocations: 229.5 kB / 0.6897 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.2174, allocations: 0.8322 MB / 0.6905 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.2178, allocations: 0.8627 MB / 0.6913 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003564/0.2181, allocations: 112.2 kB / 0.6914 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.855e-05/0.2182, allocations: 39.42 kB / 0.6915 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.2182, allocations: 0 / 0.6915 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of Templates: time 0.01674/0.235, allocations: 10.17 MB / 0.7014 GB, free: 14.05 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)