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.001723/0.001723, allocations: 106.3 kB / 16.4 MB, free: 6.496 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.001836/0.001836, allocations: 189.2 kB / 17.34 MB, free: 5.758 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002629/0.002629, allocations: 286.7 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 1.002/1.002, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 87.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4853, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02167/0.507, allocations: 17.47 MB / 0.7841 GB, free: 2.398 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007987/0.515, allocations: 4.933 MB / 0.7889 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005752/0.5156, allocations: 15.94 kB / 0.7889 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008314/0.5164, allocations: 254.4 kB / 0.7892 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.518, allocations: 0.6453 MB / 0.7898 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.5199, allocations: 0.7241 MB / 0.7905 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.5213, allocations: 0.9702 MB / 0.7915 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004735/0.5218, allocations: 292.8 kB / 0.7918 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006801/0.5225, allocations: 426.3 kB / 0.7922 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.5229, allocations: 314.6 kB / 0.7925 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.934e-05/0.523, allocations: 32 kB / 0.7925 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.5242, allocations: 0.7292 MB / 0.7932 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.5244, allocations: 135.5 kB / 0.7933 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.5246, allocations: 242.7 kB / 0.7936 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.5259, allocations: 0.893 MB / 0.7944 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5259, allocations: 0 / 0.7944 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5259, allocations: 0 / 0.7944 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.5259, allocations: 0 / 0.7944 GB, free: 7.805 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.001363/0.5273, allocations: 0.9021 MB / 0.7953 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.5273, allocations: 8.031 kB / 0.7953 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.5275, allocations: 60.56 kB / 0.7954 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007798/0.5283, allocations: 470.1 kB / 0.7958 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.5283, allocations: 24.5 kB / 0.7959 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.5284, allocations: 32 kB / 0.7959 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.5289, allocations: 286.2 kB / 0.7962 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.5289, allocations: 4 kB / 0.7962 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.5289, allocations: 12 kB / 0.7962 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.5289, allocations: 8 kB / 0.7962 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.5294, allocations: 190.1 kB / 0.7964 GB, free: 5.727 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.002014/0.5314, allocations: 1.48 MB / 0.7978 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.5317, allocations: 158.7 kB / 0.798 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.5319, allocations: 80.75 kB / 0.798 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/0.5336, allocations: 1.276 MB / 0.7993 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.5337, allocations: 38.48 kB / 0.7993 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.5337, allocations: 4 kB / 0.7993 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.00066/0.5343, allocations: 252.3 kB / 0.7996 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.5344, allocations: 55.41 kB / 0.7996 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007201/0.5351, allocations: 0.5848 MB / 0.8002 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.5351, allocations: 33.7 kB / 0.8002 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.5354, allocations: 268.5 kB / 0.8005 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.766e-05/0.5355, allocations: 55.53 kB / 0.8005 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.5356, allocations: 69.92 kB / 0.8006 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.5358, allocations: 358.8 kB / 0.8009 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.536, allocations: 81.92 kB / 0.801 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.5363, allocations: 210.7 kB / 0.8012 GB, free: 344 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.5367, allocations: 231.8 kB / 0.8014 GB, free: 80 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5367, allocations: 0 / 0.8014 GB, free: 80 kB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006509/0.5373, allocations: 321.1 kB / 0.8017 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.5374, allocations: 15.88 kB / 0.8018 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5374, allocations: 4 kB / 0.8018 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5374, allocations: 4 kB / 0.8018 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.5377, allocations: 59.91 kB / 0.8018 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.5377, allocations: 7.984 kB / 0.8018 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.538, allocations: 48.02 kB / 0.8019 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.538, allocations: 11.94 kB / 0.8019 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003376/0.5384, allocations: 216.6 kB / 0.8021 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003086/0.5387, allocations: 210.2 kB / 0.8023 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004224/0.5391, allocations: 230.9 kB / 0.8025 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.5391, allocations: 0 / 0.8025 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000611/0.5397, allocations: 313.1 kB / 0.8028 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.5397, allocations: 6.812 kB / 0.8028 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.5397, allocations: 11.92 kB / 0.8028 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-06/0.5397, allocations: 4 kB / 0.8028 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.54, allocations: 59.91 kB / 0.8029 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.54, allocations: 7.938 kB / 0.8029 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.5403, allocations: 40.11 kB / 0.8029 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.5403, allocations: 12 kB / 0.8029 GB, free: 14.43 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.0001407/0.5405, allocations: 204.1 kB / 0.8031 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.674e-05/0.5405, allocations: 55.61 kB / 0.8032 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/0.5411, allocations: 256.3 kB / 0.8034 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.5411, allocations: 8 kB / 0.8034 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5411, allocations: 0 / 0.8034 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5411, allocations: 0 / 0.8034 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.5423, allocations: 0.7394 MB / 0.8042 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5423, allocations: 128 / 0.8042 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.5424, allocations: 35.97 kB / 0.8042 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5424, allocations: 0 / 0.8042 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.5425, allocations: 4 kB / 0.8042 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.5425, allocations: 7.984 kB / 0.8042 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.5425, allocations: 0 / 0.8042 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.5431, allocations: 358.4 kB / 0.8046 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.5432, allocations: 144.7 kB / 0.8047 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.5433, allocations: 8 kB / 0.8047 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.5435, allocations: 11.98 kB / 0.8047 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.5436, allocations: 16.02 kB / 0.8047 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.5436, allocations: 15.92 kB / 0.8047 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004888/0.5441, allocations: 418.8 kB / 0.8051 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5441, allocations: 7.938 kB / 0.8051 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007337/0.5448, allocations: 227.6 kB / 0.8054 GB, free: 11.82 MB / 0.5762 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 (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.001615/0.5464, allocations: 493.7 kB / 0.8058 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007225/0.5471, allocations: 310.3 kB / 0.8061 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5471, allocations: 0 / 0.8061 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.5473, allocations: 83.89 kB / 0.8062 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.5486, allocations: 263.2 kB / 0.8065 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.55, allocations: 0.8316 MB / 0.8073 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.5505, allocations: 0.8389 MB / 0.8081 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000293/0.5508, allocations: 100.2 kB / 0.8082 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.645e-05/0.5509, allocations: 39.44 kB / 0.8082 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.5509, allocations: 0 / 0.8082 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of Templates: time 0.01925/0.5701, allocations: 10.28 MB / 0.8183 GB, free: 14.84 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)