Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00126/0.00126, allocations: 101.8 kB / 16.41 MB, free: 6.461 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.00103/0.00103, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002222/0.002222, allocations: 289.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9137/0.9137, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 91.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4357, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.018/0.4537, allocations: 15.53 MB / 0.7822 GB, free: 4.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006752/0.4605, allocations: 4.326 MB / 0.7864 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006699/0.4612, allocations: 19.88 kB / 0.7865 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.4623, allocations: 266.3 kB / 0.7867 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.4641, allocations: 0.5984 MB / 0.7873 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.4661, allocations: 0.7194 MB / 0.788 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.4675, allocations: 1.029 MB / 0.789 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006023/0.4682, allocations: 347.5 kB / 0.7893 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008215/0.469, allocations: 422.3 kB / 0.7897 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005089/0.4695, allocations: 318.6 kB / 0.79 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/0.4696, allocations: 35.94 kB / 0.7901 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.4708, allocations: 0.6239 MB / 0.7907 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.4709, allocations: 103.6 kB / 0.7908 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.4712, allocations: 230.7 kB / 0.791 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.4724, allocations: 0.7697 MB / 0.7918 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4724, allocations: 0 / 0.7918 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4724, allocations: 3.938 kB / 0.7918 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.4724, allocations: 0 / 0.7918 GB, free: 10.52 MB / 0.5606 GB 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.0014/0.4738, allocations: 0.8368 MB / 0.7926 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.4739, allocations: 8.031 kB / 0.7926 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.474, allocations: 52.38 kB / 0.7926 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009129/0.4749, allocations: 433.4 kB / 0.793 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.475, allocations: 20.44 kB / 0.7931 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.218e-05/0.475, allocations: 28 kB / 0.7931 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.4755, allocations: 207.2 kB / 0.7933 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4756, allocations: 4 kB / 0.7933 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.4756, allocations: 8 kB / 0.7933 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.4756, allocations: 7.938 kB / 0.7933 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.476, allocations: 169.6 kB / 0.7935 GB, free: 8.676 MB / 0.5606 GB 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.001725/0.4777, allocations: 0.9456 MB / 0.7944 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.4781, allocations: 130.6 kB / 0.7945 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.4782, allocations: 72.81 kB / 0.7946 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/0.4786, allocations: 344.4 kB / 0.7949 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.4786, allocations: 38.5 kB / 0.795 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.4786, allocations: 0 / 0.795 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0006749/0.4793, allocations: 232.8 kB / 0.7952 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.4794, allocations: 55.41 kB / 0.7952 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.4799, allocations: 485.9 kB / 0.7957 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.4799, allocations: 29.7 kB / 0.7957 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.4801, allocations: 228.6 kB / 0.7959 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.4802, allocations: 47.44 kB / 0.796 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.4803, allocations: 57.61 kB / 0.796 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4804, allocations: 354.7 kB / 0.7964 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.4806, allocations: 76.81 kB / 0.7965 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.4809, allocations: 158.6 kB / 0.7966 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.4812, allocations: 164.9 kB / 0.7968 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4812, allocations: 0 / 0.7968 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005035/0.4818, allocations: 253 kB / 0.797 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4818, allocations: 4 kB / 0.797 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4818, allocations: 0 / 0.797 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4818, allocations: 4 kB / 0.797 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.482, allocations: 43.97 kB / 0.7971 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.4821, allocations: 4 kB / 0.7971 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.4824, allocations: 43.66 kB / 0.7971 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.4824, allocations: 8 kB / 0.7971 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002759/0.4827, allocations: 198.3 kB / 0.7973 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002276/0.4829, allocations: 169.3 kB / 0.7975 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003089/0.4832, allocations: 172.1 kB / 0.7976 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.726e-06/0.4833, allocations: 0 / 0.7976 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004773/0.4837, allocations: 249 kB / 0.7979 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.4838, allocations: 11.98 kB / 0.7979 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.4838, allocations: 0 / 0.7979 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/0.4838, allocations: 4.188 kB / 0.7979 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.484, allocations: 39.97 kB / 0.7979 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.484, allocations: 7.938 kB / 0.7979 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.4843, allocations: 39.92 kB / 0.798 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.4844, allocations: 12 kB / 0.798 GB, free: 3.75 MB / 0.5606 GB 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 0.0001185/0.4845, allocations: 192.1 kB / 0.7982 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/0.4846, allocations: 43.44 kB / 0.7982 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005409/0.4851, allocations: 256.1 kB / 0.7984 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4851, allocations: 4 kB / 0.7984 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4851, allocations: 4 kB / 0.7984 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4852, allocations: 0 / 0.7984 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009732/0.4861, allocations: 0.7005 MB / 0.7991 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4861, allocations: 0 / 0.7991 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.4863, allocations: 40.03 kB / 0.7992 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4863, allocations: 4 kB / 0.7992 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4863, allocations: 4 kB / 0.7992 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.4863, allocations: 7.938 kB / 0.7992 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4863, allocations: 0 / 0.7992 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.4868, allocations: 342.3 kB / 0.7995 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.487, allocations: 136.5 kB / 0.7996 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.487, allocations: 8 kB / 0.7996 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.4873, allocations: 11.92 kB / 0.7997 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.4873, allocations: 19.92 kB / 0.7997 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.4874, allocations: 11.98 kB / 0.7997 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003469/0.4877, allocations: 334.9 kB / 0.8 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4877, allocations: 0 / 0.8 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006668/0.4884, allocations: 199.8 kB / 0.8002 GB, free: 1.344 MB / 0.5606 GB 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.001091/0.4895, allocations: 482.6 kB / 0.8007 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006294/0.4901, allocations: 267.7 kB / 0.8009 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.4901, allocations: 4.125 kB / 0.8009 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.4903, allocations: 87.83 kB / 0.801 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00099/0.4913, allocations: 194.1 kB / 0.8012 GB, free: 476 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.4926, allocations: 0.7303 MB / 0.8019 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.493, allocations: 0.8309 MB / 0.8027 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.505e-05/0.4931, allocations: 39.42 kB / 0.8027 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.4931, allocations: 0 / 0.8027 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of Templates: time 0.01139/0.5045, allocations: 7.362 MB / 0.8099 GB, free: 7.512 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)