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.00114/0.00114, allocations: 111.1 kB / 17.04 MB, free: 5.355 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.001138/0.001138, allocations: 199.2 kB / 17.98 MB, free: 4.895 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.281/1.281, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7238/0.7238, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 64.12 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3626, allocations: 76.14 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01735/0.38, allocations: 20.71 MB / 0.5778 GB, free: 21.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005557/0.3856, allocations: 4.955 MB / 0.5826 GB, free: 18.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005348/0.3861, allocations: 17.5 kB / 0.5826 GB, free: 18.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006522/0.3868, allocations: 268.6 kB / 0.5829 GB, free: 18.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.3885, allocations: 0.8212 MB / 0.5837 GB, free: 17.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.3902, allocations: 0.7119 MB / 0.5844 GB, free: 17.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.3916, allocations: 1.394 MB / 0.5858 GB, free: 16.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005033/0.3921, allocations: 440.6 kB / 0.5862 GB, free: 16.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007732/0.3929, allocations: 0.5764 MB / 0.5867 GB, free: 16.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004816/0.3934, allocations: 444.6 kB / 0.5872 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.521e-05/0.3935, allocations: 36.62 kB / 0.5872 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.3945, allocations: 0.6345 MB / 0.5878 GB, free: 16.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.3947, allocations: 127.8 kB / 0.5879 GB, free: 16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.3949, allocations: 290.4 kB / 0.5882 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.396, allocations: 0.8514 MB / 0.5891 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.396, allocations: 1.438 kB / 0.5891 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.396, allocations: 0.7969 kB / 0.5891 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.396, allocations: 0 / 0.5891 GB, free: 15.51 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.00145/0.3975, allocations: 0.93 MB / 0.59 GB, free: 14.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.3975, allocations: 8.594 kB / 0.59 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.3976, allocations: 64.97 kB / 0.59 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.3983, allocations: 474.4 kB / 0.5905 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.3983, allocations: 26.44 kB / 0.5905 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/0.3984, allocations: 40.28 kB / 0.5906 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/0.399, allocations: 314.2 kB / 0.5909 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.399, allocations: 0 / 0.5909 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.399, allocations: 10.44 kB / 0.5909 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.3991, allocations: 10.58 kB / 0.5909 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.3996, allocations: 262.4 kB / 0.5911 GB, free: 14.12 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.001793/0.4014, allocations: 1.336 MB / 0.5924 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.4019, allocations: 255.6 kB / 0.5927 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.4021, allocations: 140.7 kB / 0.5928 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.4024, allocations: 0.4987 MB / 0.5933 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.4025, allocations: 36.88 kB / 0.5933 GB, free: 12.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.362e-06/0.4025, allocations: 3.938 kB / 0.5933 GB, free: 12.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.001557/0.404, allocations: 0.5629 MB / 0.5939 GB, free: 11.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.4041, allocations: 54.03 kB / 0.5939 GB, free: 11.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.4045, allocations: 466 kB / 0.5944 GB, free: 11.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.4046, allocations: 32.33 kB / 0.5944 GB, free: 11.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.4047, allocations: 243.2 kB / 0.5946 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.4048, allocations: 89.48 kB / 0.5947 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.4049, allocations: 77.12 kB / 0.5948 GB, free: 11.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.405, allocations: 358.5 kB / 0.5951 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.4053, allocations: 123 kB / 0.5953 GB, free: 10.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.4057, allocations: 185.5 kB / 0.5954 GB, free: 10.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/0.4062, allocations: 264.6 kB / 0.5957 GB, free: 10.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4063, allocations: 0 / 0.5957 GB, free: 10.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001424/0.4077, allocations: 0.493 MB / 0.5962 GB, free: 10.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4077, allocations: 4.594 kB / 0.5962 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4077, allocations: 1.094 kB / 0.5962 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003521/0.4081, allocations: 49.84 kB / 0.5962 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.4085, allocations: 70.64 kB / 0.5963 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002839/0.4087, allocations: 0.5717 MB / 0.5968 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.4092, allocations: 54.45 kB / 0.5969 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.4092, allocations: 10.22 kB / 0.5969 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003543/0.4096, allocations: 244.4 kB / 0.5971 GB, free: 9.359 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000294/0.4099, allocations: 179.9 kB / 0.5973 GB, free: 9.242 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004893/0.4104, allocations: 254.1 kB / 0.5976 GB, free: 9.113 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.4104, allocations: 160 / 0.5976 GB, free: 9.113 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007061/0.4111, allocations: 380.8 kB / 0.5979 GB, free: 8.918 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.4111, allocations: 5 kB / 0.5979 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.4111, allocations: 1.312 kB / 0.5979 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/0.4111, allocations: 2.906 kB / 0.5979 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.4115, allocations: 85.78 kB / 0.598 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.4115, allocations: 2.5 kB / 0.598 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/0.4119, allocations: 50.02 kB / 0.5981 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.412, allocations: 14.16 kB / 0.5981 GB, free: 8.855 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.0001029/0.4121, allocations: 193.6 kB / 0.5983 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.4122, allocations: 50.42 kB / 0.5983 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008394/0.413, allocations: 422.3 kB / 0.5987 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.413, allocations: 7.188 kB / 0.5987 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.413, allocations: 1.25 kB / 0.5987 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4131, allocations: 0 / 0.5987 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.4143, allocations: 0.95 MB / 0.5996 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4143, allocations: 1.469 kB / 0.5996 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.4145, allocations: 47.19 kB / 0.5997 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.4147, allocations: 39.02 kB / 0.5997 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.4147, allocations: 7.406 kB / 0.5997 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002271/0.415, allocations: 0.5658 MB / 0.6003 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.207e-06/0.415, allocations: 5.25 kB / 0.6003 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/0.4157, allocations: 499.2 kB / 0.6008 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.4158, allocations: 149.5 kB / 0.6009 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.4159, allocations: 7.5 kB / 0.6009 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.4162, allocations: 24.31 kB / 0.6009 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.4163, allocations: 25.31 kB / 0.601 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.4163, allocations: 20.2 kB / 0.601 GB, free: 6.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003032/0.4166, allocations: 321.1 kB / 0.6013 GB, free: 6.328 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.052e-06/0.4166, allocations: 0 / 0.6013 GB, free: 6.328 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007739/0.4174, allocations: 251.4 kB / 0.6015 GB, free: 6.273 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.000499/0.4179, allocations: 263.6 kB / 0.6018 GB, free: 6.105 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.419, allocations: 459.9 kB / 0.6022 GB, free: 5.918 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.419, allocations: 0 / 0.6022 GB, free: 5.918 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.4194, allocations: 173.2 kB / 0.6024 GB, free: 5.844 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009467/0.4204, allocations: 229 kB / 0.6026 GB, free: 5.727 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.4214, allocations: 0.8181 MB / 0.6034 GB, free: 4.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.4217, allocations: 0.8598 MB / 0.6042 GB, free: 4.031 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003055/0.422, allocations: 120.3 kB / 0.6044 GB, free: 3.914 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.4221, allocations: 39.42 kB / 0.6044 GB, free: 3.879 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4221, allocations: 3.938 kB / 0.6044 GB, free: 3.875 MB / 446.1 MB Notification: Performance of Templates: time 0.01583/0.4379, allocations: 10.12 MB / 0.6143 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)