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.001021/0.001021, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.463/1.463, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6785/0.6785, allocations: 113.8 MB / 405.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003752, allocations: 8 kB / 493 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2127, allocations: 77.16 MB / 0.5568 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01774/0.2305, allocations: 17.38 MB / 0.5738 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00641/0.2369, allocations: 3.996 MB / 0.5777 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005473/0.2375, allocations: 15.88 kB / 0.5777 GB, free: 6.125 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00087/0.2384, allocations: 254.7 kB / 0.578 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.2406, allocations: 0.8101 MB / 0.5788 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.2426, allocations: 0.7623 MB / 0.5795 GB, free: 4.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.244, allocations: 0.8435 MB / 0.5803 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005548/0.2446, allocations: 354.8 kB / 0.5807 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000945/0.2456, allocations: 470.5 kB / 0.5811 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005012/0.2461, allocations: 322.6 kB / 0.5814 GB, free: 2.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.2461, allocations: 20 kB / 0.5814 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.2472, allocations: 391.4 kB / 0.5818 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.2473, allocations: 103.6 kB / 0.5819 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.2475, allocations: 129.5 kB / 0.582 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006597/0.2481, allocations: 0.5184 MB / 0.5825 GB, free: 1.191 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2482, allocations: 0 / 0.5825 GB, free: 1.191 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2482, allocations: 0 / 0.5825 GB, free: 1.191 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.2482, allocations: 0 / 0.5825 GB, free: 1.191 MB / 446.1 MB 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.001589/0.2498, allocations: 0.8153 MB / 0.5833 GB, free: 336 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.2498, allocations: 8.031 kB / 0.5833 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.25, allocations: 67.19 kB / 0.5834 GB, free: 260 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3865/0.6364, allocations: 425 kB / 0.5838 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/0.6365, allocations: 27.02 kB / 0.5838 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.57e-05/0.6366, allocations: 35.56 kB / 0.5839 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000891/0.6375, allocations: 322.5 kB / 0.5842 GB, free: 34.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.6376, allocations: 0 / 0.5842 GB, free: 34.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.6376, allocations: 12.56 kB / 0.5842 GB, free: 34.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.6376, allocations: 7 kB / 0.5842 GB, free: 34.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/0.6384, allocations: 284.9 kB / 0.5845 GB, free: 34.87 MB / 446.1 MB 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.002667/0.6411, allocations: 1.354 MB / 0.5858 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.6418, allocations: 285.3 kB / 0.5861 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000416/0.6423, allocations: 0.4933 MB / 0.5866 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.6423, allocations: 40.27 kB / 0.5866 GB, free: 33.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.974e-06/0.6423, allocations: 0 / 0.5866 GB, free: 33.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.002108/0.6444, allocations: 0.588 MB / 0.5872 GB, free: 33.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.6445, allocations: 57.88 kB / 0.5872 GB, free: 33.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007805/0.6453, allocations: 462.5 kB / 0.5877 GB, free: 33.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.6453, allocations: 32.64 kB / 0.5877 GB, free: 33.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.6456, allocations: 249.5 kB / 0.5879 GB, free: 33.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.385e-05/0.6457, allocations: 93.06 kB / 0.588 GB, free: 33.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.6457, allocations: 5.281 kB / 0.588 GB, free: 33.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6459, allocations: 356.9 kB / 0.5884 GB, free: 32.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.6462, allocations: 123.4 kB / 0.5885 GB, free: 32.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.6466, allocations: 186.1 kB / 0.5887 GB, free: 32.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.647, allocations: 140.3 kB / 0.5888 GB, free: 32.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.647, allocations: 2.672 kB / 0.5888 GB, free: 32.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001117/0.6482, allocations: 430 kB / 0.5892 GB, free: 32.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.523e-05/0.6483, allocations: 276.9 kB / 0.5895 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.6483, allocations: 1.281 kB / 0.5895 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003839/0.6487, allocations: 55.73 kB / 0.5895 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.6491, allocations: 76.59 kB / 0.5896 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000361/0.6494, allocations: 0.5596 MB / 0.5901 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.65, allocations: 73.38 kB / 0.5902 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.6501, allocations: 12.83 kB / 0.5902 GB, free: 31.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.6501, allocations: 3.688 kB / 0.5902 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007988/0.6509, allocations: 324.1 kB / 0.5905 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6509, allocations: 4.672 kB / 0.5905 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/0.6509, allocations: 6.031 kB / 0.5905 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.6513, allocations: 81.12 kB / 0.5906 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.6513, allocations: 2.094 kB / 0.5906 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/0.6518, allocations: 64.34 kB / 0.5907 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.6518, allocations: 10.84 kB / 0.5907 GB, free: 31.4 MB / 446.1 MB 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.00026/0.6521, allocations: 252.8 kB / 0.5909 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-05/0.6522, allocations: 49.25 kB / 0.591 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.6534, allocations: 448.9 kB / 0.5914 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.6534, allocations: 3.797 kB / 0.5914 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.6534, allocations: 4.672 kB / 0.5914 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.6534, allocations: 2.188 kB / 0.5914 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.6553, allocations: 0.9616 MB / 0.5924 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.6553, allocations: 4.594 kB / 0.5924 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.6555, allocations: 61.77 kB / 0.5924 GB, free: 30.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.6557, allocations: 38.58 kB / 0.5925 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.6558, allocations: 9.078 kB / 0.5925 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003113/0.6561, allocations: 0.5631 MB / 0.593 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6561, allocations: 2.359 kB / 0.593 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009673/0.6571, allocations: 0.5439 MB / 0.5936 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.6573, allocations: 167 kB / 0.5937 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.6574, allocations: 3.344 kB / 0.5937 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.6578, allocations: 43.16 kB / 0.5938 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.6579, allocations: 28.75 kB / 0.5938 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.6579, allocations: 14.17 kB / 0.5938 GB, free: 29.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004324/0.6584, allocations: 318.8 kB / 0.5941 GB, free: 29.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6584, allocations: 0 / 0.5941 GB, free: 29.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001069/0.6594, allocations: 244.9 kB / 0.5943 GB, free: 29.12 MB / 446.1 MB 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.000625/0.6601, allocations: 256.5 kB / 0.5946 GB, free: 29.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.6614, allocations: 488.5 kB / 0.595 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6615, allocations: 3.281 kB / 0.5951 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004549/0.6619, allocations: 173.6 kB / 0.5952 GB, free: 28.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.6634, allocations: 248.6 kB / 0.5955 GB, free: 28.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.6652, allocations: 0.9907 MB / 0.5964 GB, free: 28.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.6657, allocations: 0.8633 MB / 0.5973 GB, free: 27.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000548/0.6663, allocations: 121.2 kB / 0.5974 GB, free: 27.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.6664, allocations: 47.31 kB / 0.5974 GB, free: 27.43 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6664, allocations: 0 / 0.5974 GB, free: 27.43 MB / 446.1 MB Notification: Performance of Templates: time 0.0225/0.6889, allocations: 9.567 MB / 0.6068 GB, free: 24.48 MB / 446.1 MB 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)