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.001582/0.001582, allocations: 107.5 kB / 16.52 MB, free: 6.266 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.00168/0.00168, allocations: 193.8 kB / 17.44 MB, free: 5.887 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.73/0.73, allocations: 115.3 MB / 406.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001593, allocations: 59.91 kB / 493.5 MB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3918, allocations: 76.18 MB / 0.5564 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01797/0.4098, allocations: 20.64 MB / 0.5765 GB, free: 20.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0063/0.4162, allocations: 4.977 MB / 0.5814 GB, free: 17.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007678/0.417, allocations: 16.34 kB / 0.5814 GB, free: 17.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008486/0.4179, allocations: 224.2 kB / 0.5816 GB, free: 17.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.4205, allocations: 0.7501 MB / 0.5823 GB, free: 16.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.4225, allocations: 0.6395 MB / 0.583 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002382/0.4249, allocations: 1.82 MB / 0.5847 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006245/0.4255, allocations: 372.8 kB / 0.5851 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.4265, allocations: 0.5211 MB / 0.5856 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006516/0.4272, allocations: 458.3 kB / 0.586 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.933e-05/0.4273, allocations: 30.84 kB / 0.5861 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.4287, allocations: 0.6002 MB / 0.5867 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.4289, allocations: 112.5 kB / 0.5868 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.4291, allocations: 272.1 kB / 0.587 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008564/0.43, allocations: 0.5835 MB / 0.5876 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.43, allocations: 0 / 0.5876 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.43, allocations: 1.25 kB / 0.5876 GB, free: 14.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.43, allocations: 0 / 0.5876 GB, free: 14.73 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.001603/0.4316, allocations: 0.9299 MB / 0.5885 GB, free: 14.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4317, allocations: 13.73 kB / 0.5885 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.4318, allocations: 62.81 kB / 0.5886 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.4324, allocations: 454.9 kB / 0.589 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.4325, allocations: 30.31 kB / 0.589 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.4325, allocations: 32.31 kB / 0.5891 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.4332, allocations: 305.9 kB / 0.5894 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4332, allocations: 0 / 0.5894 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.4333, allocations: 15.88 kB / 0.5894 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.4333, allocations: 9.719 kB / 0.5894 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006342/0.4339, allocations: 263.1 kB / 0.5896 GB, free: 13.44 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.002146/0.4361, allocations: 1.345 MB / 0.591 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.4366, allocations: 252.5 kB / 0.5912 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.4369, allocations: 144.1 kB / 0.5913 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004091/0.4373, allocations: 0.4942 MB / 0.5918 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.4374, allocations: 32.64 kB / 0.5918 GB, free: 11.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.234e-06/0.4374, allocations: 0 / 0.5918 GB, free: 11.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.00176/0.4391, allocations: 0.5685 MB / 0.5924 GB, free: 11.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.4392, allocations: 54.75 kB / 0.5925 GB, free: 11.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.4397, allocations: 469.7 kB / 0.5929 GB, free: 11.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.4397, allocations: 35.98 kB / 0.5929 GB, free: 11.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.4398, allocations: 243.5 kB / 0.5932 GB, free: 10.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.4399, allocations: 81.27 kB / 0.5932 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.44, allocations: 77.58 kB / 0.5933 GB, free: 10.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.209e-05/0.4401, allocations: 358 kB / 0.5937 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.4404, allocations: 119.7 kB / 0.5938 GB, free: 10.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.4407, allocations: 190.7 kB / 0.594 GB, free: 10.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005752/0.4413, allocations: 270.2 kB / 0.5942 GB, free: 10.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4413, allocations: 1.375 kB / 0.5942 GB, free: 10.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001486/0.4428, allocations: 499.3 kB / 0.5947 GB, free: 9.871 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4429, allocations: 9.406 kB / 0.5947 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4429, allocations: 0 / 0.5947 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003615/0.4432, allocations: 59.16 kB / 0.5948 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.4436, allocations: 65.3 kB / 0.5948 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003238/0.444, allocations: 0.5646 MB / 0.5954 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.4445, allocations: 60.27 kB / 0.5954 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.4445, allocations: 14.16 kB / 0.5954 GB, free: 9.227 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000396/0.4449, allocations: 248.6 kB / 0.5957 GB, free: 9.059 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000317/0.4453, allocations: 171.5 kB / 0.5958 GB, free: 8.949 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000532/0.4458, allocations: 258.4 kB / 0.5961 GB, free: 8.816 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.4458, allocations: 0 / 0.5961 GB, free: 8.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007546/0.4466, allocations: 371.6 kB / 0.5964 GB, free: 8.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.4466, allocations: 5.594 kB / 0.5964 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.4466, allocations: 0 / 0.5964 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.938e-06/0.4466, allocations: 2.438 kB / 0.5964 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.447, allocations: 90.53 kB / 0.5965 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.447, allocations: 2.875 kB / 0.5965 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.4475, allocations: 56.56 kB / 0.5966 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.4476, allocations: 13.66 kB / 0.5966 GB, free: 8.562 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 (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.0001204/0.4477, allocations: 197.8 kB / 0.5968 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.443e-05/0.4478, allocations: 46.16 kB / 0.5968 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009261/0.4487, allocations: 435.3 kB / 0.5973 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.4487, allocations: 3.531 kB / 0.5973 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4488, allocations: 0 / 0.5973 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4488, allocations: 3.938 kB / 0.5973 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.4501, allocations: 0.9482 MB / 0.5982 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4502, allocations: 1.062 kB / 0.5982 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.4504, allocations: 51.69 kB / 0.5982 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001711/0.4506, allocations: 41.95 kB / 0.5983 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.4506, allocations: 3.844 kB / 0.5983 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002459/0.4509, allocations: 0.5584 MB / 0.5988 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4509, allocations: 5.406 kB / 0.5988 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.4516, allocations: 496.3 kB / 0.5993 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.4518, allocations: 161.4 kB / 0.5995 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.4519, allocations: 10.94 kB / 0.5995 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.4523, allocations: 34.7 kB / 0.5995 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.4524, allocations: 25.77 kB / 0.5995 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.4524, allocations: 12.97 kB / 0.5995 GB, free: 6.211 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003275/0.4527, allocations: 320.8 kB / 0.5998 GB, free: 6.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4527, allocations: 0 / 0.5998 GB, free: 6.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008713/0.4536, allocations: 258.6 kB / 0.6001 GB, free: 5.957 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 (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.0005201/0.4541, allocations: 265 kB / 0.6003 GB, free: 5.789 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.4553, allocations: 458.7 kB / 0.6008 GB, free: 5.602 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4553, allocations: 1.219 kB / 0.6008 GB, free: 5.602 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.4557, allocations: 165.6 kB / 0.6009 GB, free: 5.531 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.4571, allocations: 264.3 kB / 0.6012 GB, free: 5.402 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.4585, allocations: 1.021 MB / 0.6022 GB, free: 4.664 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.4587, allocations: 0.8548 MB / 0.603 GB, free: 3.891 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.4588, allocations: 49.08 kB / 0.6031 GB, free: 3.875 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4588, allocations: 0 / 0.6031 GB, free: 3.875 MB / 446.1 MB Notification: Performance of Templates: time 0.01284/0.4717, allocations: 10.27 MB / 0.6131 GB, free: 9.926 MB / 462.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)