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.001203/0.001203, allocations: 109.2 kB / 17.02 MB, free: 6.121 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.001385/0.001385, allocations: 194.9 kB / 17.97 MB, free: 5.211 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7114/0.7114, allocations: 115.1 MB / 406.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3636, allocations: 76.14 MB / 0.5575 GB, free: 36.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01944/0.3831, allocations: 20.72 MB / 0.5778 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007091/0.3902, allocations: 4.953 MB / 0.5826 GB, free: 18.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009946/0.3913, allocations: 17.94 kB / 0.5826 GB, free: 18.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.3924, allocations: 279 kB / 0.5829 GB, free: 18.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.3957, allocations: 0.8211 MB / 0.5837 GB, free: 17.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.3983, allocations: 0.7093 MB / 0.5844 GB, free: 17.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002182/0.4005, allocations: 1.382 MB / 0.5857 GB, free: 16.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007248/0.4012, allocations: 446.3 kB / 0.5862 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.4024, allocations: 0.5666 MB / 0.5867 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007658/0.4032, allocations: 458.9 kB / 0.5872 GB, free: 16.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.56e-05/0.4033, allocations: 36.72 kB / 0.5872 GB, free: 16.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.4048, allocations: 0.6379 MB / 0.5878 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.405, allocations: 119.2 kB / 0.5879 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003264/0.4054, allocations: 287.3 kB / 0.5882 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.4068, allocations: 0.8526 MB / 0.589 GB, free: 15.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4069, allocations: 1.344 kB / 0.589 GB, free: 15.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4069, allocations: 0 / 0.589 GB, free: 15.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.4069, allocations: 0.8438 kB / 0.589 GB, free: 15.32 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.001564/0.4084, allocations: 0.9339 MB / 0.59 GB, free: 14.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4085, allocations: 9.406 kB / 0.59 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.4086, allocations: 63.97 kB / 0.59 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007539/0.4094, allocations: 478 kB / 0.5905 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.4094, allocations: 31.47 kB / 0.5905 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.4095, allocations: 31.97 kB / 0.5905 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006791/0.4102, allocations: 306.5 kB / 0.5908 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4102, allocations: 0 / 0.5908 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.4103, allocations: 13.56 kB / 0.5908 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.4103, allocations: 7.578 kB / 0.5909 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006234/0.4109, allocations: 267.6 kB / 0.5911 GB, free: 14.02 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.002025/0.4129, allocations: 1.338 MB / 0.5924 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.4134, allocations: 259.5 kB / 0.5927 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.4137, allocations: 135.8 kB / 0.5928 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/0.414, allocations: 0.4953 MB / 0.5933 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.4141, allocations: 36.09 kB / 0.5933 GB, free: 12.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.4141, allocations: 1.281 kB / 0.5933 GB, free: 12.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.001721/0.4158, allocations: 0.571 MB / 0.5939 GB, free: 11.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.4159, allocations: 57.72 kB / 0.5939 GB, free: 11.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/0.4163, allocations: 461.8 kB / 0.5944 GB, free: 11.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.4164, allocations: 35.86 kB / 0.5944 GB, free: 11.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.4165, allocations: 239.9 kB / 0.5946 GB, free: 11.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.4166, allocations: 85.38 kB / 0.5947 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.4167, allocations: 74 kB / 0.5948 GB, free: 11.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.4168, allocations: 357.4 kB / 0.5951 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.4171, allocations: 122.9 kB / 0.5952 GB, free: 10.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.4174, allocations: 186.9 kB / 0.5954 GB, free: 10.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005667/0.418, allocations: 272.4 kB / 0.5957 GB, free: 10.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.418, allocations: 3.938 kB / 0.5957 GB, free: 10.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001564/0.4196, allocations: 498.4 kB / 0.5962 GB, free: 10.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.4196, allocations: 5.281 kB / 0.5962 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4196, allocations: 0.9688 kB / 0.5962 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003719/0.42, allocations: 58.56 kB / 0.5962 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.4204, allocations: 66.33 kB / 0.5963 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003536/0.4207, allocations: 0.5637 MB / 0.5968 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.4212, allocations: 45.62 kB / 0.5969 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.4213, allocations: 17.89 kB / 0.5969 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003815/0.4216, allocations: 249.3 kB / 0.5971 GB, free: 9.297 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003075/0.422, allocations: 172.2 kB / 0.5973 GB, free: 9.188 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005351/0.4225, allocations: 266.4 kB / 0.5975 GB, free: 9.047 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.4225, allocations: 1.344 kB / 0.5975 GB, free: 9.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.000741/0.4233, allocations: 368.8 kB / 0.5979 GB, free: 8.863 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.4233, allocations: 6 kB / 0.5979 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.4233, allocations: 7.984 kB / 0.5979 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.596e-06/0.4233, allocations: 2.594 kB / 0.5979 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.4237, allocations: 81.91 kB / 0.598 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.4237, allocations: 6.75 kB / 0.598 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.4242, allocations: 50.48 kB / 0.598 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.4242, allocations: 9.812 kB / 0.5981 GB, free: 8.797 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.000107/0.4243, allocations: 206 kB / 0.5983 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.94e-05/0.4244, allocations: 45.75 kB / 0.5983 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000905/0.4253, allocations: 427.6 kB / 0.5987 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.4253, allocations: 2.219 kB / 0.5987 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4254, allocations: 1.344 kB / 0.5987 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4254, allocations: 0 / 0.5987 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.4268, allocations: 0.9424 MB / 0.5996 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4268, allocations: 1.188 kB / 0.5996 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.427, allocations: 46.47 kB / 0.5997 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/0.4272, allocations: 47.3 kB / 0.5997 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.4272, allocations: 8.531 kB / 0.5997 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002507/0.4275, allocations: 0.5613 MB / 0.6003 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4275, allocations: 5.375 kB / 0.6003 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007374/0.4282, allocations: 499.6 kB / 0.6008 GB, free: 6.645 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.4284, allocations: 149.4 kB / 0.6009 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.4285, allocations: 11.28 kB / 0.6009 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.4288, allocations: 27.91 kB / 0.6009 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.4289, allocations: 25.06 kB / 0.601 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.4289, allocations: 12.36 kB / 0.601 GB, free: 6.457 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003279/0.4293, allocations: 325.6 kB / 0.6013 GB, free: 6.262 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4293, allocations: 0 / 0.6013 GB, free: 6.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008331/0.4301, allocations: 243.1 kB / 0.6015 GB, free: 6.215 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.0005183/0.4306, allocations: 267 kB / 0.6018 GB, free: 6.039 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.4318, allocations: 468.7 kB / 0.6022 GB, free: 5.848 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4318, allocations: 0 / 0.6022 GB, free: 5.848 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.4322, allocations: 171.8 kB / 0.6024 GB, free: 5.773 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.4333, allocations: 216.3 kB / 0.6026 GB, free: 5.668 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.4345, allocations: 0.8244 MB / 0.6034 GB, free: 4.863 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.4347, allocations: 0.852 MB / 0.6042 GB, free: 3.984 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003405/0.4351, allocations: 124.3 kB / 0.6043 GB, free: 3.863 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.971e-05/0.4352, allocations: 47.42 kB / 0.6044 GB, free: 3.82 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4352, allocations: 0 / 0.6044 GB, free: 3.82 MB / 446.1 MB Notification: Performance of Templates: time 0.0168/0.452, allocations: 10.11 MB / 0.6143 GB, free: 9.879 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)