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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 114 kB / 16.41 MB, free: 6.379 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.001305/0.001305, allocations: 185.8 kB / 17.33 MB, free: 5.852 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002171/0.002171, allocations: 283 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.95/0.95, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 91.86 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4137, allocations: 86.99 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01708/0.4308, allocations: 17.43 MB / 0.7841 GB, free: 2.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006743/0.4375, allocations: 4.929 MB / 0.7889 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005809/0.4381, allocations: 11.94 kB / 0.7889 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000872/0.439, allocations: 266.3 kB / 0.7892 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.4407, allocations: 0.6375 MB / 0.7898 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.4429, allocations: 0.7198 MB / 0.7905 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001501/0.4444, allocations: 0.9739 MB / 0.7914 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006073/0.4451, allocations: 333 kB / 0.7918 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008715/0.4459, allocations: 430.3 kB / 0.7922 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005416/0.4465, allocations: 314.6 kB / 0.7925 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.716e-05/0.4466, allocations: 28 kB / 0.7925 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.4479, allocations: 0.7253 MB / 0.7932 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.4481, allocations: 139.5 kB / 0.7933 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.4484, allocations: 234.7 kB / 0.7936 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.4498, allocations: 0.8866 MB / 0.7944 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4498, allocations: 7.938 kB / 0.7944 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4498, allocations: 4 kB / 0.7944 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.903e-05/0.4498, allocations: 0 / 0.7944 GB, free: 7.781 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001376/0.4512, allocations: 0.8758 MB / 0.7953 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.4512, allocations: 8.031 kB / 0.7953 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.4514, allocations: 64.19 kB / 0.7954 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007127/0.4522, allocations: 461.7 kB / 0.7958 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.4522, allocations: 24.5 kB / 0.7958 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.4522, allocations: 28 kB / 0.7958 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.4528, allocations: 290.2 kB / 0.7961 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4528, allocations: 0 / 0.7961 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.4528, allocations: 12 kB / 0.7961 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.4528, allocations: 8 kB / 0.7961 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.4533, allocations: 186.1 kB / 0.7963 GB, free: 5.742 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.00188/0.4551, allocations: 1.488 MB / 0.7978 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.4555, allocations: 162.7 kB / 0.7979 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.4557, allocations: 80.81 kB / 0.798 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/0.4572, allocations: 1.272 MB / 0.7992 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.4572, allocations: 42.44 kB / 0.7993 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.4572, allocations: 0 / 0.7993 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006334/0.4579, allocations: 257 kB / 0.7995 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.4579, allocations: 51.41 kB / 0.7996 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00066/0.4586, allocations: 0.5809 MB / 0.8001 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.4586, allocations: 33.7 kB / 0.8002 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.4588, allocations: 268.1 kB / 0.8004 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.4589, allocations: 59.19 kB / 0.8005 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-05/0.459, allocations: 65.89 kB / 0.8006 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4591, allocations: 358.8 kB / 0.8009 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.4593, allocations: 81.92 kB / 0.801 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.4596, allocations: 206.7 kB / 0.8012 GB, free: 356 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.46, allocations: 243.3 kB / 0.8014 GB, free: 80 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.46, allocations: 0 / 0.8014 GB, free: 80 kB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005946/0.4606, allocations: 308.7 kB / 0.8017 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4606, allocations: 7.938 kB / 0.8017 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4607, allocations: 4 kB / 0.8017 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4607, allocations: 4.25 kB / 0.8017 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.4609, allocations: 67.91 kB / 0.8018 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.461, allocations: 4 kB / 0.8018 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.4613, allocations: 43.66 kB / 0.8018 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.4613, allocations: 12 kB / 0.8018 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003039/0.4616, allocations: 219 kB / 0.802 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002804/0.4619, allocations: 214.1 kB / 0.8022 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004018/0.4623, allocations: 235.4 kB / 0.8025 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.426e-06/0.4623, allocations: 0 / 0.8025 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005825/0.4629, allocations: 304.7 kB / 0.8028 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.463, allocations: 10.34 kB / 0.8028 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.463, allocations: 192 / 0.8028 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.583e-06/0.463, allocations: 8.188 kB / 0.8028 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.4632, allocations: 71.83 kB / 0.8028 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.4632, allocations: 7.938 kB / 0.8029 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.4636, allocations: 35.83 kB / 0.8029 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.4636, allocations: 15.98 kB / 0.8029 GB, free: 14.45 MB / 0.5762 GB 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.0001266/0.4638, allocations: 200.1 kB / 0.8031 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.4638, allocations: 55.22 kB / 0.8032 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/0.4644, allocations: 255.8 kB / 0.8034 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.4644, allocations: 0 / 0.8034 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4644, allocations: 0 / 0.8034 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.4646, allocations: 152.3 kB / 0.8035 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.4646, allocations: 4 kB / 0.8035 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.4648, allocations: 7.984 kB / 0.8036 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.4649, allocations: 15.98 kB / 0.8036 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004611/0.4654, allocations: 280.8 kB / 0.8038 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004978/0.4659, allocations: 404.4 kB / 0.8042 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001814/0.4661, allocations: 79.94 kB / 0.8043 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004379/0.4665, allocations: 426.8 kB / 0.8047 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of Backend: time 2.51e-07/0.4665, allocations: 3.938 kB / 0.8047 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002306/0.4688, allocations: 0.8906 MB / 0.8056 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002144/0.471, allocations: 1.394 MB / 0.8069 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.02091/0.4919, allocations: 11.91 MB / 0.8186 GB, free: 14.65 MB / 0.5919 GB 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)