Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 112.2 kB / 17.04 MB, free: 5.812 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.001224/0.001224, allocations: 195 kB / 17.98 MB, free: 5.027 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.3/1.3, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6951/0.6951, allocations: 115.1 MB / 406.9 MB, free: 6.285 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 56.12 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3673, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0158/0.3831, allocations: 19.42 MB / 0.5765 GB, free: 22.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007101/0.3903, allocations: 5.148 MB / 0.5816 GB, free: 19.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.3916, allocations: 17.5 kB / 0.5816 GB, free: 19.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009397/0.3926, allocations: 267.3 kB / 0.5818 GB, free: 19.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002985/0.3956, allocations: 0.7675 MB / 0.5826 GB, free: 18.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.3982, allocations: 0.888 MB / 0.5835 GB, free: 18.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.4008, allocations: 1.547 MB / 0.585 GB, free: 17.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008967/0.4018, allocations: 0.5154 MB / 0.5855 GB, free: 17.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.4032, allocations: 0.626 MB / 0.5861 GB, free: 16.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007868/0.404, allocations: 0.5267 MB / 0.5866 GB, free: 16.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.781e-05/0.4041, allocations: 53.97 kB / 0.5866 GB, free: 16.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.4057, allocations: 0.6958 MB / 0.5873 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.4059, allocations: 176.7 kB / 0.5875 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003589/0.4063, allocations: 381.3 kB / 0.5879 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.4081, allocations: 1.099 MB / 0.5889 GB, free: 15.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4081, allocations: 0 / 0.5889 GB, free: 15.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4081, allocations: 0 / 0.5889 GB, free: 15.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.4081, allocations: 1.219 kB / 0.5889 GB, free: 15.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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001878/0.41, allocations: 1.106 MB / 0.59 GB, free: 14.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.41, allocations: 9.188 kB / 0.59 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.4102, allocations: 84.97 kB / 0.5901 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/0.411, allocations: 0.5259 MB / 0.5906 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.4111, allocations: 37.28 kB / 0.5907 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/0.4112, allocations: 48.28 kB / 0.5907 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009394/0.4121, allocations: 0.6256 MB / 0.5913 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.4121, allocations: 1.25 kB / 0.5913 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.4122, allocations: 21.88 kB / 0.5913 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.4122, allocations: 12.97 kB / 0.5913 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009518/0.4132, allocations: 493.7 kB / 0.5918 GB, free: 13.77 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.002783/0.416, allocations: 3.2 MB / 0.5949 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/0.4166, allocations: 348.8 kB / 0.5953 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.417, allocations: 236.5 kB / 0.5955 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.4173, allocations: 347.9 kB / 0.5958 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.4173, allocations: 41.16 kB / 0.5959 GB, free: 10.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=38): time 1.813e-06/0.4174, allocations: 0 / 0.5959 GB, free: 10.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=38): time 0.001903/0.4193, allocations: 0.7981 MB / 0.5966 GB, free: 9.621 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.4193, allocations: 63.31 kB / 0.5967 GB, free: 9.551 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.4199, allocations: 0.5832 MB / 0.5973 GB, free: 9.203 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.4199, allocations: 36.36 kB / 0.5973 GB, free: 9.164 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.4201, allocations: 332.4 kB / 0.5976 GB, free: 8.871 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.996e-05/0.4202, allocations: 134 kB / 0.5978 GB, free: 8.754 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.4203, allocations: 125.3 kB / 0.5979 GB, free: 8.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.4204, allocations: 373.1 kB / 0.5982 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.4209, allocations: 219.1 kB / 0.5984 GB, free: 8.211 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.4214, allocations: 369.4 kB / 0.5988 GB, free: 7.922 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000881/0.4223, allocations: 0.5697 MB / 0.5993 GB, free: 7.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.4223, allocations: 5.5 kB / 0.5994 GB, free: 7.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001308/0.4236, allocations: 0.7145 MB / 0.6001 GB, free: 7.156 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4236, allocations: 7.312 kB / 0.6001 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.4237, allocations: 16.2 kB / 0.6001 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000546/0.4242, allocations: 135.2 kB / 0.6002 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.4247, allocations: 135.2 kB / 0.6003 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004239/0.4252, allocations: 0.6166 MB / 0.6009 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005827/0.4258, allocations: 84.23 kB / 0.601 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/0.4258, allocations: 30.14 kB / 0.601 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005899/0.4264, allocations: 346 kB / 0.6014 GB, free: 6.203 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004947/0.4269, allocations: 362.5 kB / 0.6017 GB, free: 5.922 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008743/0.4278, allocations: 0.5665 MB / 0.6023 GB, free: 5.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.4278, allocations: 1.156 kB / 0.6023 GB, free: 5.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.00121/0.4291, allocations: 0.6723 MB / 0.6029 GB, free: 5.188 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.4291, allocations: 7.25 kB / 0.6029 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4291, allocations: 4.375 kB / 0.6029 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.4291, allocations: 15.47 kB / 0.603 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.4297, allocations: 160.4 kB / 0.6031 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4297, allocations: 11.98 kB / 0.6031 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.4302, allocations: 63.53 kB / 0.6032 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.4303, allocations: 31.98 kB / 0.6032 GB, free: 4.961 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001583/0.4304, allocations: 218 kB / 0.6034 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-05/0.4305, allocations: 67.16 kB / 0.6035 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.4317, allocations: 0.6431 MB / 0.6041 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4318, allocations: 8 kB / 0.6041 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4318, allocations: 8 kB / 0.6041 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4318, allocations: 3.984 kB / 0.6041 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.4337, allocations: 1.363 MB / 0.6055 GB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.4338, allocations: 8.031 kB / 0.6055 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.4341, allocations: 79.89 kB / 0.6055 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/0.4344, allocations: 100.8 kB / 0.6056 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.4344, allocations: 15.98 kB / 0.6057 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004226/0.4348, allocations: 0.6303 MB / 0.6063 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.4348, allocations: 4.031 kB / 0.6063 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.4359, allocations: 0.698 MB / 0.607 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.4361, allocations: 200 kB / 0.6071 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.018e-05/0.4362, allocations: 8 kB / 0.6072 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.4365, allocations: 35.95 kB / 0.6072 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.4366, allocations: 31.91 kB / 0.6072 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.4367, allocations: 19.98 kB / 0.6072 GB, free: 0.668 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003245/0.437, allocations: 403.1 kB / 0.6076 GB, free: 288 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.437, allocations: 0 / 0.6076 GB, free: 288 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001067/0.4381, allocations: 387.5 kB / 0.608 GB, free: 15.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000577/0.4386, allocations: 307.8 kB / 0.6083 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.4404, allocations: 0.8668 MB / 0.6091 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.4404, allocations: 0 / 0.6091 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006249/0.4411, allocations: 287.6 kB / 0.6094 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.4421, allocations: 226.9 kB / 0.6096 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.4437, allocations: 1.061 MB / 0.6107 GB, free: 13.15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.4441, allocations: 0.9077 MB / 0.6115 GB, free: 12.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004477/0.4445, allocations: 153 kB / 0.6117 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.4447, allocations: 63.41 kB / 0.6118 GB, free: 12 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4447, allocations: 0 / 0.6118 GB, free: 12 MB / 462.1 MB Notification: Performance of Templates: time 0.01968/0.4644, allocations: 12.62 MB / 0.6241 GB, free: 15.57 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)