Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001033, allocations: 100.5 kB / 16.4 MB, free: 6.504 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.001044/0.001044, allocations: 196 kB / 17.34 MB, free: 5.742 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6747/0.6747, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 68.64 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1299, allocations: 76.18 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4889/0.6188, allocations: 154.3 MB / 0.7828 GB, free: 30.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03131/0.6502, allocations: 30.41 MB / 0.8125 GB, free: 23.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005061/0.6553, allocations: 140.2 kB / 0.8126 GB, free: 23.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.6574, allocations: 1.036 MB / 0.8137 GB, free: 22.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007026/0.6645, allocations: 3.17 MB / 0.8167 GB, free: 20.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00481/0.6693, allocations: 2.514 MB / 0.8192 GB, free: 18.29 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005126/0.6744, allocations: 5.391 MB / 0.8245 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002127/0.6766, allocations: 2.23 MB / 0.8266 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003837/0.6804, allocations: 2.753 MB / 0.8293 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.6824, allocations: 1.963 MB / 0.8313 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002389/0.6826, allocations: 216 kB / 0.8315 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.6844, allocations: 1.088 MB / 0.8325 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.6847, allocations: 0.5564 MB / 0.8331 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00078/0.6855, allocations: 1.271 MB / 0.8343 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.6878, allocations: 3.321 MB / 0.8375 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6878, allocations: 3.938 kB / 0.8376 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6878, allocations: 4 kB / 0.8376 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.945e-05/0.6878, allocations: 0 / 0.8376 GB, free: 4.355 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003293/0.6911, allocations: 2.791 MB / 0.8403 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.6912, allocations: 11.97 kB / 0.8403 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.6915, allocations: 260.9 kB / 0.8405 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.6932, allocations: 1.512 MB / 0.842 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/0.6932, allocations: 102.3 kB / 0.8421 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.6934, allocations: 136 kB / 0.8422 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.6952, allocations: 1.171 MB / 0.8434 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.6952, allocations: 0 / 0.8434 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.6953, allocations: 47.94 kB / 0.8434 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.6954, allocations: 28 kB / 0.8435 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.697, allocations: 1.016 MB / 0.8445 GB, free: 13.11 MB / 0.5919 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.00868/0.7057, allocations: 6.32 MB / 0.8506 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008483/0.7065, allocations: 0.5636 MB / 0.8512 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/0.7071, allocations: 387.4 kB / 0.8515 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003879/0.7075, allocations: 0.5108 MB / 0.852 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.7075, allocations: 43.12 kB / 0.8521 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009439/0.7085, allocations: 234.8 kB / 0.8523 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.205e-06/0.7085, allocations: 0 / 0.8523 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.001913/0.7104, allocations: 1.156 MB / 0.8534 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.7104, allocations: 63.97 kB / 0.8535 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.7125, allocations: 1.9 MB / 0.8554 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.749e-05/0.7125, allocations: 49.7 kB / 0.8554 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006303/0.7132, allocations: 0.9107 MB / 0.8563 GB, free: 344 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.7133, allocations: 209 kB / 0.8565 GB, free: 132 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/0.7137, allocations: 290.7 kB / 0.8568 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.7138, allocations: 353.9 kB / 0.8571 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007606/0.7146, allocations: 461.7 kB / 0.8575 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000923/0.7155, allocations: 0.6769 MB / 0.8582 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.717, allocations: 0.9735 MB / 0.8592 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.717, allocations: 0 / 0.8592 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002175/0.7192, allocations: 1.404 MB / 0.8605 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.7192, allocations: 11.98 kB / 0.8605 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7192, allocations: 4 kB / 0.8605 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.7192, allocations: 8 kB / 0.8606 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.7204, allocations: 275.5 kB / 0.8608 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.7204, allocations: 8 kB / 0.8608 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.7216, allocations: 80.02 kB / 0.8609 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.7217, allocations: 63.95 kB / 0.861 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00113/0.7228, allocations: 0.7095 MB / 0.8617 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008679/0.7237, allocations: 0.6583 MB / 0.8623 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001302/0.725, allocations: 0.9149 MB / 0.8632 GB, free: 9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.723e-06/0.725, allocations: 7.984 kB / 0.8632 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002025/0.7271, allocations: 1.357 MB / 0.8645 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.7271, allocations: 7.938 kB / 0.8645 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7271, allocations: 4 kB / 0.8645 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.7271, allocations: 12.47 kB / 0.8645 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.7282, allocations: 283.5 kB / 0.8648 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.7282, allocations: 8 kB / 0.8648 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.7295, allocations: 87.91 kB / 0.8649 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.545e-05/0.7296, allocations: 59.89 kB / 0.865 GB, free: 7.172 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * 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.0002583/0.7298, allocations: 239.3 kB / 0.8652 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.7301, allocations: 197.5 kB / 0.8654 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.732, allocations: 1.096 MB / 0.8665 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.732, allocations: 8 kB / 0.8665 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.7321, allocations: 0 / 0.8665 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.7321, allocations: 7.922 kB / 0.8665 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/0.7353, allocations: 2.441 MB / 0.8689 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.7353, allocations: 0 / 0.8689 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/0.7359, allocations: 135.8 kB / 0.869 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.7359, allocations: 8 kB / 0.869 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.7359, allocations: 16.19 kB / 0.869 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.7359, allocations: 15.94 kB / 0.869 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7359, allocations: 3.938 kB / 0.869 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.7373, allocations: 1.078 MB / 0.8701 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004471/0.7377, allocations: 350.4 kB / 0.8704 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.7379, allocations: 20 kB / 0.8704 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007115/0.7387, allocations: 31.97 kB / 0.8705 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.7388, allocations: 60.58 kB / 0.8705 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.7388, allocations: 20 kB / 0.8705 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001466/0.7403, allocations: 1.256 MB / 0.8718 GB, free: 84 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7403, allocations: 0 / 0.8718 GB, free: 84 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00184/0.7422, allocations: 0.8927 MB / 0.8726 GB, free: 15.18 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0006851/0.7429, allocations: 350 kB / 0.873 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002416/0.7453, allocations: 1.618 MB / 0.8745 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7453, allocations: 3.938 kB / 0.8746 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005608/0.7459, allocations: 415.5 kB / 0.8749 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003987/0.7499, allocations: 1.082 MB / 0.876 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.7539, allocations: 2.984 MB / 0.8789 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008138/0.7548, allocations: 1.405 MB / 0.8803 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001261/0.756, allocations: 405.8 kB / 0.8807 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.7564, allocations: 163.3 kB / 0.8808 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.7564, allocations: 0 / 0.8808 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of Templates: time 0.05814/0.8146, allocations: 38.5 MB / 0.9184 GB, free: 0.6836 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)