Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 186 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.81/1.81, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.002481/0.002481, allocations: 70.17 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3373, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03569/0.3731, allocations: 31.02 MB / 0.8144 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02043/0.3935, allocations: 13.98 MB / 0.8281 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003352/0.397, allocations: 31.75 kB / 0.8281 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002114/0.3992, allocations: 393.2 kB / 0.8285 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00461/0.4038, allocations: 1.138 MB / 0.8296 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.4072, allocations: 0.8547 MB / 0.8304 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003382/0.4106, allocations: 2.05 MB / 0.8324 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.4117, allocations: 0.6776 MB / 0.8331 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.4143, allocations: 0.9648 MB / 0.834 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.4154, allocations: 0.669 MB / 0.8347 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.076e-05/0.4155, allocations: 59.94 kB / 0.8347 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.417, allocations: 0.6005 MB / 0.8353 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.4172, allocations: 171.2 kB / 0.8355 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00049/0.4177, allocations: 425.8 kB / 0.8359 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.4193, allocations: 1.098 MB / 0.837 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4193, allocations: 0 / 0.837 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.444e-06/0.4193, allocations: 0 / 0.837 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.4193, allocations: 4 kB / 0.837 GB, free: 6.453 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.00189/0.4212, allocations: 1.144 MB / 0.8381 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4213, allocations: 16.03 kB / 0.8381 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.4214, allocations: 91.81 kB / 0.8382 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009687/0.4224, allocations: 0.5926 MB / 0.8388 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.4225, allocations: 41 kB / 0.8388 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.931e-05/0.4225, allocations: 52 kB / 0.8389 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007559/0.4233, allocations: 414.4 kB / 0.8392 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.4233, allocations: 0 / 0.8392 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.4234, allocations: 20 kB / 0.8393 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.4234, allocations: 16 kB / 0.8393 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005907/0.424, allocations: 303.8 kB / 0.8396 GB, free: 3.684 MB / 0.6544 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.002927/0.4269, allocations: 1.842 MB / 0.8414 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.4273, allocations: 181.6 kB / 0.8415 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.4275, allocations: 76.81 kB / 0.8416 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/0.4278, allocations: 348.3 kB / 0.8419 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.4278, allocations: 30.56 kB / 0.842 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 2.334e-06/0.4279, allocations: 0 / 0.842 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.0007504/0.4286, allocations: 312.5 kB / 0.8423 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.4287, allocations: 51.41 kB / 0.8423 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007659/0.4294, allocations: 0.6725 MB / 0.843 GB, free: 15.92 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.4295, allocations: 33.7 kB / 0.843 GB, free: 15.88 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.4298, allocations: 360.1 kB / 0.8434 GB, free: 15.52 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/0.4299, allocations: 66.95 kB / 0.8434 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.43, allocations: 97.58 kB / 0.8435 GB, free: 15.35 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.4302, allocations: 382.7 kB / 0.8439 GB, free: 14.97 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.4305, allocations: 108.8 kB / 0.844 GB, free: 14.86 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.4309, allocations: 181.8 kB / 0.8442 GB, free: 14.66 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/0.4314, allocations: 240.9 kB / 0.8444 GB, free: 14.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4314, allocations: 0 / 0.8444 GB, free: 14.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007809/0.4322, allocations: 398.2 kB / 0.8448 GB, free: 14.02 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.4322, allocations: 10.66 kB / 0.8448 GB, free: 14.01 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4323, allocations: 0 / 0.8448 GB, free: 14.01 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.4323, allocations: 0 / 0.8448 GB, free: 14.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.4333, allocations: 159.9 kB / 0.8449 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.435, allocations: 2.371 MB / 0.8472 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.4355, allocations: 55.88 kB / 0.8473 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.4356, allocations: 19.98 kB / 0.8473 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000408/0.436, allocations: 244.1 kB / 0.8475 GB, free: 11.07 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002759/0.4363, allocations: 179.5 kB / 0.8477 GB, free: 10.88 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004084/0.4367, allocations: 231.4 kB / 0.8479 GB, free: 10.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.407e-06/0.4367, allocations: 112 / 0.8479 GB, free: 10.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006674/0.4374, allocations: 376.4 kB / 0.8483 GB, free: 10.26 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.4374, allocations: 11.94 kB / 0.8483 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.4374, allocations: 0 / 0.8483 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.4374, allocations: 15.97 kB / 0.8483 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.4378, allocations: 95.86 kB / 0.8484 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4378, allocations: 4 kB / 0.8484 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.4382, allocations: 39.81 kB / 0.8485 GB, free: 10.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.4383, allocations: 19.94 kB / 0.8485 GB, free: 10.08 MB / 0.67 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001741/0.4385, allocations: 198.1 kB / 0.8487 GB, free: 9.883 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.4386, allocations: 79.08 kB / 0.8487 GB, free: 9.805 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007013/0.4393, allocations: 302.2 kB / 0.849 GB, free: 9.504 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.4393, allocations: 4 kB / 0.849 GB, free: 9.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4393, allocations: 0 / 0.849 GB, free: 9.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4393, allocations: 3.984 kB / 0.849 GB, free: 9.496 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.4407, allocations: 0.8867 MB / 0.8499 GB, free: 8.543 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4407, allocations: 0 / 0.8499 GB, free: 8.543 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.441, allocations: 75.95 kB / 0.85 GB, free: 8.469 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.441, allocations: 4 kB / 0.85 GB, free: 8.465 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.441, allocations: 8.125 kB / 0.85 GB, free: 8.457 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.4421, allocations: 2.352 MB / 0.8523 GB, free: 6.012 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4422, allocations: 4.031 kB / 0.8523 GB, free: 6.008 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.4427, allocations: 393.9 kB / 0.8527 GB, free: 5.594 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.4429, allocations: 164.2 kB / 0.8528 GB, free: 5.414 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/0.443, allocations: 8 kB / 0.8528 GB, free: 5.406 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.4433, allocations: 15.97 kB / 0.8528 GB, free: 5.391 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.4434, allocations: 24.11 kB / 0.8529 GB, free: 5.367 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.4434, allocations: 7.984 kB / 0.8529 GB, free: 5.359 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005521/0.444, allocations: 471 kB / 0.8533 GB, free: 4.906 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.444, allocations: 0 / 0.8533 GB, free: 4.906 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009036/0.4449, allocations: 347.2 kB / 0.8537 GB, free: 4.566 MB / 0.67 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005703/0.4455, allocations: 241.5 kB / 0.8539 GB, free: 4.332 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.4471, allocations: 0.4957 MB / 0.8544 GB, free: 3.836 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4471, allocations: 0 / 0.8544 GB, free: 3.836 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.4475, allocations: 144.1 kB / 0.8545 GB, free: 3.695 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.449, allocations: 329.3 kB / 0.8548 GB, free: 3.375 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.4508, allocations: 1.1 MB / 0.8559 GB, free: 2.238 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.4513, allocations: 0.9296 MB / 0.8568 GB, free: 1.281 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003756/0.4517, allocations: 124.6 kB / 0.8569 GB, free: 1.16 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.4518, allocations: 51.42 kB / 0.857 GB, free: 1.109 MB / 0.67 GB Notification: Performance of SimCode: time 4.01e-07/0.4518, allocations: 0 / 0.857 GB, free: 1.109 MB / 0.67 GB Notification: Performance of Templates: time 0.02381/0.4756, allocations: 12.7 MB / 0.8694 GB, free: 4.648 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)