Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8108/0.8108, allocations: 143.4 MB / 159.2 MB, free: 4.855 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001125, allocations: 184.5 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 447.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 107.2 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001924/0.001924, allocations: 283.3 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 79.89 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3171, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01327/0.3304, allocations: 17.38 MB / 0.7849 GB, free: 10.23 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005308/0.3358, allocations: 4.933 MB / 0.7897 GB, free: 5.293 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005371/0.3363, allocations: 15.88 kB / 0.7897 GB, free: 5.277 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007303/0.3371, allocations: 206.9 kB / 0.7899 GB, free: 5.074 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.3383, allocations: 0.5638 MB / 0.7905 GB, free: 4.508 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.3398, allocations: 0.6521 MB / 0.7911 GB, free: 3.863 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009989/0.3409, allocations: 1.278 MB / 0.7924 GB, free: 2.578 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003184/0.3412, allocations: 284.7 kB / 0.7926 GB, free: 2.297 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004827/0.3417, allocations: 386.3 kB / 0.793 GB, free: 1.918 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.342, allocations: 318.6 kB / 0.7933 GB, free: 1.605 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.342, allocations: 16 kB / 0.7933 GB, free: 1.59 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009663/0.343, allocations: 0.694 MB / 0.794 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.3431, allocations: 135.4 kB / 0.7941 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.3433, allocations: 234.7 kB / 0.7943 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008706/0.3442, allocations: 0.8607 MB / 0.7952 GB, free: 15.67 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3442, allocations: 0 / 0.7952 GB, free: 15.67 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3442, allocations: 0 / 0.7952 GB, free: 15.67 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.3442, allocations: 8 kB / 0.7952 GB, free: 15.66 MB / 474.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.001205/0.3454, allocations: 0.8758 MB / 0.7961 GB, free: 14.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3455, allocations: 8.031 kB / 0.7961 GB, free: 14.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.3456, allocations: 64.22 kB / 0.7961 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005727/0.3462, allocations: 445.7 kB / 0.7965 GB, free: 14.19 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.3462, allocations: 24.5 kB / 0.7966 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.3463, allocations: 32 kB / 0.7966 GB, free: 14.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.3468, allocations: 278.3 kB / 0.7969 GB, free: 13.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3468, allocations: 0 / 0.7969 GB, free: 13.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.3469, allocations: 15.94 kB / 0.7969 GB, free: 13.82 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.3469, allocations: 8 kB / 0.7969 GB, free: 13.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.3473, allocations: 194.1 kB / 0.7971 GB, free: 13.63 MB / 474.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.001751/0.349, allocations: 1.464 MB / 0.7985 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.3494, allocations: 166.8 kB / 0.7987 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.3495, allocations: 88.7 kB / 0.7987 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/0.3511, allocations: 1.272 MB / 0.8 GB, free: 10.33 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.3511, allocations: 38.5 kB / 0.8 GB, free: 10.28 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.3512, allocations: 0 / 0.8 GB, free: 10.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006023/0.3518, allocations: 253.7 kB / 0.8003 GB, free: 10.03 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.3518, allocations: 55.34 kB / 0.8003 GB, free: 9.961 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006279/0.3524, allocations: 0.5809 MB / 0.8009 GB, free: 9.367 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.3525, allocations: 33.7 kB / 0.8009 GB, free: 9.328 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.3527, allocations: 264.1 kB / 0.8012 GB, free: 9.066 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.3527, allocations: 63.19 kB / 0.8012 GB, free: 9.004 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3528, allocations: 65.97 kB / 0.8013 GB, free: 8.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.353, allocations: 362.8 kB / 0.8016 GB, free: 8.566 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.3531, allocations: 81.88 kB / 0.8017 GB, free: 8.484 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.3535, allocations: 216 kB / 0.8019 GB, free: 8.227 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.3539, allocations: 235.7 kB / 0.8021 GB, free: 7.965 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3539, allocations: 4 kB / 0.8022 GB, free: 7.961 MB / 474.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005618/0.3544, allocations: 312.6 kB / 0.8025 GB, free: 7.648 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3545, allocations: 11.94 kB / 0.8025 GB, free: 7.637 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3545, allocations: 0 / 0.8025 GB, free: 7.637 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3545, allocations: 4 kB / 0.8025 GB, free: 7.633 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.3547, allocations: 68.14 kB / 0.8025 GB, free: 7.566 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.3548, allocations: 4 kB / 0.8025 GB, free: 7.562 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.3551, allocations: 47.77 kB / 0.8026 GB, free: 7.516 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.3552, allocations: 23.92 kB / 0.8026 GB, free: 7.492 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002924/0.3555, allocations: 212.6 kB / 0.8028 GB, free: 7.281 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002684/0.3557, allocations: 210.4 kB / 0.803 GB, free: 7.027 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003647/0.3561, allocations: 231.3 kB / 0.8032 GB, free: 6.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.3561, allocations: 0 / 0.8032 GB, free: 6.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000537/0.3567, allocations: 312.8 kB / 0.8035 GB, free: 6.457 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/0.3567, allocations: 8 kB / 0.8035 GB, free: 6.449 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3567, allocations: 4.188 kB / 0.8035 GB, free: 6.445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.3567, allocations: 8 kB / 0.8035 GB, free: 6.438 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.3569, allocations: 59.91 kB / 0.8036 GB, free: 6.379 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3569, allocations: 4 kB / 0.8036 GB, free: 6.375 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.3573, allocations: 43.81 kB / 0.8036 GB, free: 6.332 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.3573, allocations: 15.98 kB / 0.8037 GB, free: 6.316 MB / 474.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 0.0001171/0.3574, allocations: 200.1 kB / 0.8039 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/0.3575, allocations: 55.28 kB / 0.8039 GB, free: 6.059 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005269/0.358, allocations: 252.2 kB / 0.8041 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3581, allocations: 4 kB / 0.8042 GB, free: 5.801 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3581, allocations: 0 / 0.8042 GB, free: 5.801 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3581, allocations: 4 kB / 0.8042 GB, free: 5.797 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.3591, allocations: 0.7415 MB / 0.8049 GB, free: 4.988 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3591, allocations: 0 / 0.8049 GB, free: 4.988 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.3593, allocations: 35.91 kB / 0.8049 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3593, allocations: 4.125 kB / 0.8049 GB, free: 4.949 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.3593, allocations: 8 kB / 0.8049 GB, free: 4.941 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3593, allocations: 7.938 kB / 0.8049 GB, free: 4.934 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3593, allocations: 0 / 0.8049 GB, free: 4.934 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009544/0.3603, allocations: 1.058 MB / 0.806 GB, free: 3.805 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.3604, allocations: 144.4 kB / 0.8061 GB, free: 3.645 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.3605, allocations: 4 kB / 0.8061 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.3607, allocations: 23.92 kB / 0.8061 GB, free: 3.617 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.3608, allocations: 19.92 kB / 0.8061 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.3608, allocations: 11.98 kB / 0.8062 GB, free: 3.586 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004446/0.3613, allocations: 418.8 kB / 0.8066 GB, free: 3.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3613, allocations: 0 / 0.8066 GB, free: 3.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009305/0.3622, allocations: 243.6 kB / 0.8068 GB, free: 2.941 MB / 474.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.00109/0.3633, allocations: 491.1 kB / 0.8073 GB, free: 2.598 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006879/0.364, allocations: 325.1 kB / 0.8076 GB, free: 2.281 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.364, allocations: 0 / 0.8076 GB, free: 2.281 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.3642, allocations: 84.89 kB / 0.8077 GB, free: 2.199 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.3655, allocations: 258.8 kB / 0.8079 GB, free: 1.949 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.367, allocations: 1.12 MB / 0.809 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.3675, allocations: 0.8507 MB / 0.8098 GB, free: 15.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.3678, allocations: 112.2 kB / 0.8099 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.091e-05/0.3679, allocations: 39.42 kB / 0.81 GB, free: 15.75 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3679, allocations: 0 / 0.81 GB, free: 15.75 MB / 490.7 MB Notification: Performance of Templates: time 0.01591/0.3838, allocations: 10.07 MB / 0.8198 GB, free: 5.805 MB / 490.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)