Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001072/0.001072, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.001164/0.001164, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.641/1.641, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005055/0.0005055, allocations: 20.62 kB / 0.6735 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2738, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01542/0.2893, allocations: 14.83 MB / 0.8016 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.3001, allocations: 6.692 MB / 0.8081 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008325/0.301, allocations: 19.88 kB / 0.8082 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.3025, allocations: 286.7 kB / 0.8084 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.3044, allocations: 0.5521 MB / 0.809 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005219/0.3096, allocations: 1.698 MB / 0.8106 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.3109, allocations: 0.5856 MB / 0.8112 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004709/0.3114, allocations: 270.5 kB / 0.8115 GB, free: 3 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006764/0.3121, allocations: 334.8 kB / 0.8118 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.3124, allocations: 211.1 kB / 0.812 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.3125, allocations: 16 kB / 0.812 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.3135, allocations: 447.3 kB / 0.8124 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.3136, allocations: 115.6 kB / 0.8125 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3138, allocations: 117.5 kB / 0.8126 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006638/0.3144, allocations: 0.5338 MB / 0.8132 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3144, allocations: 0 / 0.8132 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3144, allocations: 0 / 0.8132 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.3145, allocations: 4 kB / 0.8132 GB, free: 1.238 MB / 0.6231 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.001166/0.3156, allocations: 0.7708 MB / 0.8139 GB, free: 424 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3157, allocations: 12.03 kB / 0.8139 GB, free: 412 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.3158, allocations: 63.23 kB / 0.814 GB, free: 348 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.3165, allocations: 420.8 kB / 0.8144 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.3165, allocations: 20.56 kB / 0.8144 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.3166, allocations: 31.98 kB / 0.8144 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.317, allocations: 290.2 kB / 0.8147 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3171, allocations: 0 / 0.8147 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.3171, allocations: 12 kB / 0.8147 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3171, allocations: 4 kB / 0.8147 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.3175, allocations: 206 kB / 0.8149 GB, free: 15.32 MB / 0.6387 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.0018/0.3193, allocations: 1.48 MB / 0.8164 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.3196, allocations: 166.8 kB / 0.8165 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001518/0.3212, allocations: 1.288 MB / 0.8178 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3212, allocations: 34.56 kB / 0.8178 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.3212, allocations: 0 / 0.8178 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0006061/0.3218, allocations: 257.1 kB / 0.8181 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.3219, allocations: 55.41 kB / 0.8181 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006107/0.3225, allocations: 0.5769 MB / 0.8187 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.3225, allocations: 37.64 kB / 0.8187 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.3227, allocations: 268.1 kB / 0.819 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.3228, allocations: 55.2 kB / 0.819 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.3228, allocations: 8 kB / 0.819 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3229, allocations: 362.7 kB / 0.8194 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.3231, allocations: 76.52 kB / 0.8195 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.3234, allocations: 210.8 kB / 0.8197 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.3236, allocations: 96 kB / 0.8197 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3236, allocations: 7.938 kB / 0.8198 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000549/0.3242, allocations: 319.5 kB / 0.8201 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003605/0.3245, allocations: 0.9629 MB / 0.821 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.3246, allocations: 7.984 kB / 0.821 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3246, allocations: 8.031 kB / 0.821 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.3249, allocations: 63.91 kB / 0.8211 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3249, allocations: 4 kB / 0.8211 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.3252, allocations: 55.64 kB / 0.8211 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.3252, allocations: 16 kB / 0.8211 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.3253, allocations: 4 kB / 0.8212 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004521/0.3257, allocations: 243.8 kB / 0.8214 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3257, allocations: 4 kB / 0.8214 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.3257, allocations: 4 kB / 0.8214 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.326, allocations: 71.83 kB / 0.8215 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.326, allocations: 7.953 kB / 0.8215 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.3263, allocations: 47.81 kB / 0.8215 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.3263, allocations: 12 kB / 0.8215 GB, free: 8.062 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002199/0.3265, allocations: 261 kB / 0.8218 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.3266, allocations: 47.44 kB / 0.8218 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005409/0.3271, allocations: 269.5 kB / 0.8221 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.3272, allocations: 0 / 0.8221 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3272, allocations: 3.938 kB / 0.8221 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3272, allocations: 4 kB / 0.8221 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009694/0.3282, allocations: 0.7434 MB / 0.8228 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3282, allocations: 0 / 0.8228 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.3283, allocations: 39.97 kB / 0.8228 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3283, allocations: 128 / 0.8228 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3283, allocations: 8 kB / 0.8229 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3283, allocations: 4 kB / 0.8229 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3284, allocations: 3.938 kB / 0.8229 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.3288, allocations: 403.6 kB / 0.8232 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.329, allocations: 160.4 kB / 0.8234 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.3291, allocations: 4 kB / 0.8234 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.3293, allocations: 23.94 kB / 0.8234 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.3293, allocations: 15.92 kB / 0.8234 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3294, allocations: 8 kB / 0.8235 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004494/0.3298, allocations: 414.8 kB / 0.8238 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3298, allocations: 4 kB / 0.8239 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007625/0.3306, allocations: 235.6 kB / 0.8241 GB, free: 5.293 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/0.3317, allocations: 488.4 kB / 0.8245 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007168/0.3324, allocations: 324.1 kB / 0.8249 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.3325, allocations: 4 kB / 0.8249 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.3326, allocations: 92.56 kB / 0.8249 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.3339, allocations: 259.9 kB / 0.8252 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.3352, allocations: 0.9575 MB / 0.8261 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.3356, allocations: 0.8545 MB / 0.827 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003468/0.336, allocations: 100.3 kB / 0.8271 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.336, allocations: 39.44 kB / 0.8271 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of SimCode: time 2.61e-07/0.3361, allocations: 4 kB / 0.8271 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of Templates: time 0.01812/0.3542, allocations: 9.607 MB / 0.8365 GB, free: 8.797 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: