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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4728/0.4728, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009531/0.0009531, allocations: 100.8 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009718/0.0009718, allocations: 55.92 kB / 0.4891 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3408, allocations: 70.06 MB / 0.5575 GB, free: 44.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01473/0.3556, allocations: 19.34 MB / 0.5764 GB, free: 25.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006492/0.3621, allocations: 5.176 MB / 0.5814 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.3631, allocations: 15.88 kB / 0.5815 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007432/0.364, allocations: 218.7 kB / 0.5817 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.3656, allocations: 0.6996 MB / 0.5823 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.3674, allocations: 0.7929 MB / 0.5831 GB, free: 18.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.369, allocations: 1.95 MB / 0.585 GB, free: 16.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00049/0.3695, allocations: 445.8 kB / 0.5854 GB, free: 16.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008379/0.3704, allocations: 0.5835 MB / 0.586 GB, free: 15.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004989/0.3709, allocations: 0.525 MB / 0.5865 GB, free: 15.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.371, allocations: 35.94 kB / 0.5866 GB, free: 15.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000994/0.372, allocations: 0.6626 MB / 0.5872 GB, free: 14.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.3721, allocations: 139.4 kB / 0.5873 GB, free: 14.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.3724, allocations: 361.9 kB / 0.5877 GB, free: 14.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009598/0.3733, allocations: 1.065 MB / 0.5887 GB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3734, allocations: 0 / 0.5887 GB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3734, allocations: 0 / 0.5887 GB, free: 13.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.3734, allocations: 0 / 0.5887 GB, free: 13.12 MB / 410.7 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.001652/0.375, allocations: 1.106 MB / 0.5898 GB, free: 11.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3751, allocations: 8.031 kB / 0.5898 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.3752, allocations: 84 kB / 0.5899 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.3758, allocations: 0.5031 MB / 0.5904 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.3758, allocations: 40.94 kB / 0.5904 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.3759, allocations: 52 kB / 0.5905 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008219/0.3767, allocations: 0.6138 MB / 0.5911 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3767, allocations: 0 / 0.5911 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.3768, allocations: 20 kB / 0.5911 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.3768, allocations: 12 kB / 0.5911 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/0.3777, allocations: 495.4 kB / 0.5916 GB, free: 10.04 MB / 410.7 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.002549/0.3802, allocations: 3.189 MB / 0.5947 GB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005972/0.3808, allocations: 350.5 kB / 0.595 GB, free: 6.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.3812, allocations: 232.7 kB / 0.5953 GB, free: 6.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.3815, allocations: 348.4 kB / 0.5956 GB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.3816, allocations: 38.56 kB / 0.5956 GB, free: 5.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 2.184e-06/0.3816, allocations: 0 / 0.5956 GB, free: 5.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=38): time 0.001842/0.3834, allocations: 0.7994 MB / 0.5964 GB, free: 4.789 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.3834, allocations: 55.41 kB / 0.5965 GB, free: 4.723 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.3839, allocations: 0.59 MB / 0.597 GB, free: 4.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.384, allocations: 33.7 kB / 0.5971 GB, free: 4.086 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.3841, allocations: 332.4 kB / 0.5974 GB, free: 3.758 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/0.3842, allocations: 134.1 kB / 0.5975 GB, free: 3.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.3843, allocations: 138.1 kB / 0.5976 GB, free: 3.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.093e-05/0.3844, allocations: 370.8 kB / 0.598 GB, free: 3.109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.3848, allocations: 215.4 kB / 0.5982 GB, free: 2.898 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.3853, allocations: 370.6 kB / 0.5986 GB, free: 2.477 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008907/0.3862, allocations: 0.5743 MB / 0.5991 GB, free: 1.844 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3862, allocations: 0 / 0.5991 GB, free: 1.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001253/0.3875, allocations: 0.7188 MB / 0.5998 GB, free: 1.113 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3875, allocations: 7.938 kB / 0.5998 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.3875, allocations: 8 kB / 0.5998 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/0.3881, allocations: 132.7 kB / 0.6 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.3886, allocations: 144 kB / 0.6001 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004525/0.3891, allocations: 0.6147 MB / 0.6007 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.3897, allocations: 103.4 kB / 0.6008 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.3897, allocations: 27.98 kB / 0.6008 GB, free: 56 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007128/0.3905, allocations: 349.3 kB / 0.6012 GB, free: 15.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005892/0.3911, allocations: 360 kB / 0.6015 GB, free: 15.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009925/0.3921, allocations: 0.5628 MB / 0.602 GB, free: 14.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/0.3921, allocations: 0 / 0.602 GB, free: 14.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001284/0.3934, allocations: 0.6751 MB / 0.6027 GB, free: 13.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3934, allocations: 9.75 kB / 0.6027 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3934, allocations: 4 kB / 0.6027 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.3934, allocations: 8 kB / 0.6027 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.394, allocations: 167.6 kB / 0.6029 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.394, allocations: 8 kB / 0.6029 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.3946, allocations: 83.47 kB / 0.603 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.3947, allocations: 28 kB / 0.603 GB, free: 13.69 MB / 426.7 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.0001993/0.3949, allocations: 216.6 kB / 0.6032 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.395, allocations: 67.16 kB / 0.6033 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.3964, allocations: 0.6419 MB / 0.6039 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.3964, allocations: 8 kB / 0.6039 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3964, allocations: 3.938 kB / 0.6039 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3965, allocations: 0 / 0.6039 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.3988, allocations: 1.367 MB / 0.6052 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3989, allocations: 4.094 kB / 0.6052 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.3992, allocations: 79.88 kB / 0.6053 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003923/0.3996, allocations: 116.7 kB / 0.6054 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.3996, allocations: 16.03 kB / 0.6054 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005744/0.4002, allocations: 0.6264 MB / 0.6061 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4002, allocations: 3.984 kB / 0.6061 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.4023, allocations: 1.604 MB / 0.6076 GB, free: 8.758 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.4026, allocations: 200 kB / 0.6078 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-05/0.4027, allocations: 15.94 kB / 0.6078 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.4031, allocations: 39.95 kB / 0.6079 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.4032, allocations: 39.89 kB / 0.6079 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.4033, allocations: 19.98 kB / 0.6079 GB, free: 8.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004316/0.4037, allocations: 403.1 kB / 0.6083 GB, free: 8.043 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4037, allocations: 0 / 0.6083 GB, free: 8.043 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001284/0.405, allocations: 399.3 kB / 0.6087 GB, free: 7.652 MB / 426.7 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.0006424/0.4057, allocations: 301.1 kB / 0.609 GB, free: 7.359 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.4076, allocations: 0.8628 MB / 0.6098 GB, free: 6.496 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4076, allocations: 0 / 0.6098 GB, free: 6.496 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006543/0.4083, allocations: 284 kB / 0.6101 GB, free: 6.219 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.4098, allocations: 271 kB / 0.6104 GB, free: 5.957 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.4119, allocations: 1.572 MB / 0.6119 GB, free: 4.336 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.4123, allocations: 0.9199 MB / 0.6128 GB, free: 3.387 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005709/0.4129, allocations: 152.4 kB / 0.6129 GB, free: 3.242 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.413, allocations: 63.41 kB / 0.613 GB, free: 3.18 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.413, allocations: 0 / 0.613 GB, free: 3.18 MB / 426.7 MB Notification: Performance of Templates: time 0.02022/0.4333, allocations: 12.69 MB / 0.6254 GB, free: 6.625 MB / 442.7 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)