Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 182.7 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5485/0.5485, 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.398/1.398, allocations: 222.9 MB / 349.1 MB, free: 2.754 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.0009663/0.0009663, allocations: 105.9 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 52.16 kB / 0.4891 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3291, allocations: 70.06 MB / 0.5575 GB, free: 44.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01231/0.3414, allocations: 17.38 MB / 0.5745 GB, free: 27.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004851/0.3463, allocations: 4.925 MB / 0.5793 GB, free: 22.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005029/0.3468, allocations: 15.88 kB / 0.5793 GB, free: 22.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007201/0.3476, allocations: 214.9 kB / 0.5795 GB, free: 22.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.3487, allocations: 0.556 MB / 0.58 GB, free: 22.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.3502, allocations: 0.6435 MB / 0.5807 GB, free: 21.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.3513, allocations: 1.29 MB / 0.5819 GB, free: 20.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.3517, allocations: 294.9 kB / 0.5822 GB, free: 19.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.3522, allocations: 382.3 kB / 0.5826 GB, free: 19.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.3525, allocations: 314.6 kB / 0.5829 GB, free: 19.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.3526, allocations: 20 kB / 0.5829 GB, free: 19.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000965/0.3535, allocations: 0.6978 MB / 0.5836 GB, free: 18.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.323e-05/0.3537, allocations: 127.5 kB / 0.5837 GB, free: 18.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.3538, allocations: 226.7 kB / 0.5839 GB, free: 18.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007809/0.3546, allocations: 0.8607 MB / 0.5848 GB, free: 17.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3546, allocations: 0 / 0.5848 GB, free: 17.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.3546, allocations: 0 / 0.5848 GB, free: 17.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3546, allocations: 0 / 0.5848 GB, free: 17.23 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001079/0.3557, allocations: 0.8759 MB / 0.5856 GB, free: 16.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3558, allocations: 16.03 kB / 0.5856 GB, free: 16.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.3559, allocations: 64.19 kB / 0.5857 GB, free: 16.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.3564, allocations: 441.8 kB / 0.5861 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3564, allocations: 24.5 kB / 0.5861 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.3565, allocations: 28 kB / 0.5862 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.3569, allocations: 290.2 kB / 0.5864 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3569, allocations: 3.984 kB / 0.5864 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.3569, allocations: 12 kB / 0.5865 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3569, allocations: 7.938 kB / 0.5865 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.3573, allocations: 186.1 kB / 0.5866 GB, free: 15.19 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.001426/0.3587, allocations: 1.48 MB / 0.5881 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.359, allocations: 158.8 kB / 0.5882 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.3591, allocations: 84.8 kB / 0.5883 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.3604, allocations: 1.28 MB / 0.5896 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3604, allocations: 38.5 kB / 0.5896 GB, free: 11.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.3604, allocations: 0 / 0.5896 GB, free: 11.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005727/0.361, allocations: 246.4 kB / 0.5898 GB, free: 11.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.361, allocations: 59.41 kB / 0.5899 GB, free: 11.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/0.3615, allocations: 0.5847 MB / 0.5905 GB, free: 10.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3615, allocations: 29.7 kB / 0.5905 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.3617, allocations: 268.1 kB / 0.5907 GB, free: 10.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.3617, allocations: 55.19 kB / 0.5908 GB, free: 10.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.942e-05/0.3618, allocations: 73.88 kB / 0.5909 GB, free: 10.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.751e-05/0.3619, allocations: 358.8 kB / 0.5912 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.3621, allocations: 81.94 kB / 0.5913 GB, free: 10.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.3623, allocations: 210.7 kB / 0.5915 GB, free: 9.785 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.3626, allocations: 235.8 kB / 0.5917 GB, free: 9.523 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3626, allocations: 0 / 0.5917 GB, free: 9.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004703/0.3631, allocations: 311.3 kB / 0.592 GB, free: 9.215 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3631, allocations: 7.938 kB / 0.592 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.3631, allocations: 4 kB / 0.592 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3632, allocations: 7.984 kB / 0.592 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.3634, allocations: 59.91 kB / 0.5921 GB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3634, allocations: 4 kB / 0.5921 GB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.3637, allocations: 47.75 kB / 0.5921 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.3638, allocations: 16 kB / 0.5922 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002535/0.364, allocations: 212.6 kB / 0.5924 GB, free: 8.859 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000221/0.3643, allocations: 220.3 kB / 0.5926 GB, free: 8.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003061/0.3646, allocations: 229.3 kB / 0.5928 GB, free: 8.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.3646, allocations: 0 / 0.5928 GB, free: 8.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004615/0.3651, allocations: 317.5 kB / 0.5931 GB, free: 8.023 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.894e-06/0.3651, allocations: 6.031 kB / 0.5931 GB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.3651, allocations: 7.938 kB / 0.5931 GB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.067e-06/0.3651, allocations: 7.938 kB / 0.5931 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.3653, allocations: 59.91 kB / 0.5932 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3653, allocations: 7.984 kB / 0.5932 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.3656, allocations: 47.97 kB / 0.5932 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.3657, allocations: 12 kB / 0.5932 GB, free: 7.879 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.039e-05/0.3657, allocations: 200.3 kB / 0.5934 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.3658, allocations: 47.38 kB / 0.5935 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.3663, allocations: 266.3 kB / 0.5937 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3663, allocations: 0 / 0.5937 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3663, allocations: 4 kB / 0.5937 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3663, allocations: 0 / 0.5937 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008045/0.3671, allocations: 0.7325 MB / 0.5944 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3671, allocations: 0 / 0.5944 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3672, allocations: 35.91 kB / 0.5945 GB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3673, allocations: 4 kB / 0.5945 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3673, allocations: 8 kB / 0.5945 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3673, allocations: 0 / 0.5945 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3673, allocations: 0 / 0.5945 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006852/0.368, allocations: 1.061 MB / 0.5955 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3681, allocations: 148.4 kB / 0.5957 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.3682, allocations: 11.94 kB / 0.5957 GB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.3684, allocations: 19.92 kB / 0.5957 GB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.3684, allocations: 7.984 kB / 0.5957 GB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.3685, allocations: 15.98 kB / 0.5957 GB, free: 5.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003591/0.3688, allocations: 414.8 kB / 0.5961 GB, free: 4.758 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3688, allocations: 0 / 0.5961 GB, free: 4.758 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008445/0.3697, allocations: 243.6 kB / 0.5963 GB, free: 4.52 MB / 410.7 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 (17): * Single equations (assignments): 15 * 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.0009344/0.3706, allocations: 0.4993 MB / 0.5968 GB, free: 4.156 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005873/0.3712, allocations: 316.6 kB / 0.5971 GB, free: 3.848 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3712, allocations: 192 / 0.5971 GB, free: 3.848 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.3714, allocations: 95.83 kB / 0.5972 GB, free: 3.754 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.3727, allocations: 250.2 kB / 0.5975 GB, free: 3.508 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3738, allocations: 1.128 MB / 0.5986 GB, free: 2.328 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.374, allocations: 0.8546 MB / 0.5994 GB, free: 1.445 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003056/0.3743, allocations: 100.3 kB / 0.5995 GB, free: 1.344 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.3744, allocations: 39.42 kB / 0.5995 GB, free: 1.305 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3744, allocations: 0 / 0.5995 GB, free: 1.305 MB / 410.7 MB Notification: Performance of Templates: time 0.01638/0.3908, allocations: 10.08 MB / 0.6094 GB, free: 7.352 MB / 426.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)