Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 106.8 kB / 17.03 MB, free: 5.656 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.001319/0.001318, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.274/1.274, allocations: 222.9 MB / 241.7 MB, free: 15.14 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.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.357, allocations: 76.14 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01378/0.3709, allocations: 15.52 MB / 0.5727 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005435/0.3763, allocations: 4.326 MB / 0.5769 GB, free: 22.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005047/0.3769, allocations: 19.25 kB / 0.577 GB, free: 22.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008416/0.3777, allocations: 261.5 kB / 0.5772 GB, free: 22.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.3795, allocations: 0.6065 MB / 0.5778 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.3814, allocations: 0.7056 MB / 0.5785 GB, free: 21.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.3829, allocations: 1.032 MB / 0.5795 GB, free: 21.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004893/0.3834, allocations: 343.6 kB / 0.5798 GB, free: 21.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006604/0.384, allocations: 424.2 kB / 0.5802 GB, free: 21.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003871/0.3844, allocations: 316.5 kB / 0.5805 GB, free: 20.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.3845, allocations: 26.12 kB / 0.5806 GB, free: 20.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.3858, allocations: 0.6314 MB / 0.5812 GB, free: 20.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.3859, allocations: 104 kB / 0.5813 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.3861, allocations: 223.3 kB / 0.5815 GB, free: 20.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.3872, allocations: 0.7685 MB / 0.5822 GB, free: 20.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3872, allocations: 0 / 0.5822 GB, free: 20.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3872, allocations: 0.875 kB / 0.5822 GB, free: 20.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3872, allocations: 0 / 0.5822 GB, free: 20.24 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001083/0.3883, allocations: 0.8317 MB / 0.5831 GB, free: 19.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3883, allocations: 9.531 kB / 0.5831 GB, free: 19.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.3884, allocations: 56.27 kB / 0.5831 GB, free: 19.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/0.3891, allocations: 438.2 kB / 0.5835 GB, free: 19.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.3892, allocations: 20.38 kB / 0.5836 GB, free: 19.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.3892, allocations: 27.25 kB / 0.5836 GB, free: 19.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.3896, allocations: 210.1 kB / 0.5838 GB, free: 19.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3897, allocations: 0.6094 kB / 0.5838 GB, free: 19.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.3897, allocations: 11 kB / 0.5838 GB, free: 19.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3897, allocations: 3.938 kB / 0.5838 GB, free: 19.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.3901, allocations: 163.8 kB / 0.584 GB, free: 19.09 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.001479/0.3915, allocations: 0.9453 MB / 0.5849 GB, free: 18.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.3918, allocations: 139.2 kB / 0.585 GB, free: 18.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.392, allocations: 68.7 kB / 0.5851 GB, free: 18.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.3922, allocations: 334 kB / 0.5854 GB, free: 18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.3922, allocations: 44.14 kB / 0.5854 GB, free: 17.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.953e-06/0.3923, allocations: 1.469 kB / 0.5854 GB, free: 17.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005992/0.3929, allocations: 246.6 kB / 0.5857 GB, free: 17.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.3929, allocations: 52.72 kB / 0.5857 GB, free: 17.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.3934, allocations: 475.7 kB / 0.5862 GB, free: 17.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.3934, allocations: 32.95 kB / 0.5862 GB, free: 17.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.3935, allocations: 232.4 kB / 0.5864 GB, free: 17.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.3936, allocations: 49.72 kB / 0.5865 GB, free: 17.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-05/0.3937, allocations: 56.17 kB / 0.5865 GB, free: 17.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.3938, allocations: 355.1 kB / 0.5869 GB, free: 16.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.3939, allocations: 73.17 kB / 0.5869 GB, free: 16.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.3942, allocations: 153.3 kB / 0.5871 GB, free: 16.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.3945, allocations: 164 kB / 0.5872 GB, free: 16.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3945, allocations: 5.156 kB / 0.5872 GB, free: 16.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004706/0.395, allocations: 251 kB / 0.5875 GB, free: 16.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.395, allocations: 5.75 kB / 0.5875 GB, free: 16.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.395, allocations: 5 kB / 0.5875 GB, free: 16.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.395, allocations: 2.344 kB / 0.5875 GB, free: 16.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.3953, allocations: 51.25 kB / 0.5875 GB, free: 16.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.3953, allocations: 2.094 kB / 0.5875 GB, free: 16.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.3956, allocations: 41.16 kB / 0.5876 GB, free: 16.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.3956, allocations: 7.75 kB / 0.5876 GB, free: 16.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002493/0.3959, allocations: 196.4 kB / 0.5878 GB, free: 16.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002193/0.3961, allocations: 156.6 kB / 0.5879 GB, free: 16.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002963/0.3964, allocations: 181.6 kB / 0.5881 GB, free: 16.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.3964, allocations: 0 / 0.5881 GB, free: 16.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004746/0.3969, allocations: 253.7 kB / 0.5883 GB, free: 16.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.3969, allocations: 4.906 kB / 0.5884 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.3969, allocations: 1.562 kB / 0.5884 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-06/0.3969, allocations: 2 kB / 0.5884 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.3971, allocations: 47.53 kB / 0.5884 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.3972, allocations: 2.594 kB / 0.5884 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.3975, allocations: 30.05 kB / 0.5884 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.3975, allocations: 21.83 kB / 0.5885 GB, free: 16.12 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.942e-05/0.3976, allocations: 193.2 kB / 0.5886 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.3976, allocations: 39.31 kB / 0.5887 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005068/0.3982, allocations: 251.5 kB / 0.5889 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.3982, allocations: 3.328 kB / 0.5889 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3982, allocations: 0 / 0.5889 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3982, allocations: 4.75 kB / 0.5889 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000906/0.3991, allocations: 0.7054 MB / 0.5896 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3991, allocations: 1.031 kB / 0.5896 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.3993, allocations: 29.23 kB / 0.5896 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3993, allocations: 5.5 kB / 0.5896 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3993, allocations: 7.344 kB / 0.5897 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3993, allocations: 7.297 kB / 0.5897 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3993, allocations: 1.344 kB / 0.5897 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.3997, allocations: 343 kB / 0.59 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3998, allocations: 137.5 kB / 0.5901 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.3999, allocations: 10.3 kB / 0.5901 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.4001, allocations: 14.33 kB / 0.5901 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.4001, allocations: 19.3 kB / 0.5902 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.4002, allocations: 4.781 kB / 0.5902 GB, free: 14.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003024/0.4005, allocations: 340.6 kB / 0.5905 GB, free: 14.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4005, allocations: 0 / 0.5905 GB, free: 14.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007106/0.4012, allocations: 198.8 kB / 0.5907 GB, free: 14.64 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001101/0.4023, allocations: 489 kB / 0.5911 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006252/0.4029, allocations: 266.1 kB / 0.5914 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4029, allocations: 0 / 0.5914 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.4031, allocations: 92.84 kB / 0.5915 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009243/0.4041, allocations: 188.1 kB / 0.5917 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.4052, allocations: 0.7082 MB / 0.5924 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.4054, allocations: 0.8222 MB / 0.5932 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000246/0.4057, allocations: 91.52 kB / 0.5932 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.4058, allocations: 37.12 kB / 0.5933 GB, free: 12.9 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4058, allocations: 0 / 0.5933 GB, free: 12.9 MB / 446.1 MB Notification: Performance of Templates: time 0.01312/0.4189, allocations: 8.482 MB / 0.6016 GB, free: 7.203 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)