Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 187.2 kB / 327.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 0.5783 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000751/0.000751, allocations: 98.33 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004865, allocations: 9 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2084, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02061/0.229, allocations: 28.54 MB / 0.9287 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01354/0.2426, allocations: 13.15 MB / 0.9415 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.2438, allocations: 31.69 kB / 0.9416 GB, free: 22.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009151/0.2448, allocations: 282.1 kB / 0.9418 GB, free: 21.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.2472, allocations: 0.9271 MB / 0.9427 GB, free: 20.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.249, allocations: 0.7047 MB / 0.9434 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002147/0.2512, allocations: 2.395 MB / 0.9458 GB, free: 17.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.2519, allocations: 0.5147 MB / 0.9463 GB, free: 17.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.2534, allocations: 0.8167 MB / 0.9471 GB, free: 16.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007382/0.2541, allocations: 0.6301 MB / 0.9477 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-05/0.2542, allocations: 32 kB / 0.9477 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00098/0.2552, allocations: 0.5068 MB / 0.9482 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2553, allocations: 123.4 kB / 0.9483 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.2555, allocations: 185.2 kB / 0.9485 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007043/0.2562, allocations: 0.7519 MB / 0.9492 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2563, allocations: 4 kB / 0.9492 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2563, allocations: 0 / 0.9492 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.2563, allocations: 0 / 0.9492 GB, free: 14.15 MB / 0.6042 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.00138/0.2577, allocations: 1.016 MB / 0.9502 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2577, allocations: 8.031 kB / 0.9502 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.2578, allocations: 94.88 kB / 0.9503 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006309/0.2585, allocations: 0.5305 MB / 0.9508 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.2585, allocations: 37 kB / 0.9509 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.2586, allocations: 52 kB / 0.9509 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006621/0.2593, allocations: 418.4 kB / 0.9513 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2593, allocations: 0 / 0.9513 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.2593, allocations: 19.95 kB / 0.9514 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.2593, allocations: 12 kB / 0.9514 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005146/0.2599, allocations: 311.8 kB / 0.9517 GB, free: 11.57 MB / 0.6042 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.002185/0.262, allocations: 1.85 MB / 0.9535 GB, free: 9.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.2624, allocations: 163 kB / 0.9536 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.2625, allocations: 92.8 kB / 0.9537 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.2627, allocations: 336.5 kB / 0.954 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.2628, allocations: 42.44 kB / 0.9541 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.714e-06/0.2628, allocations: 0 / 0.9541 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0006333/0.2634, allocations: 314.9 kB / 0.9544 GB, free: 8.543 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.2635, allocations: 59.34 kB / 0.9544 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006168/0.2641, allocations: 0.6685 MB / 0.9551 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.433e-05/0.2641, allocations: 33.7 kB / 0.9551 GB, free: 7.754 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.2643, allocations: 368 kB / 0.9555 GB, free: 7.387 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.2644, allocations: 63.11 kB / 0.9555 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.2644, allocations: 4 kB / 0.9555 GB, free: 7.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.2645, allocations: 382.8 kB / 0.9559 GB, free: 6.938 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.2647, allocations: 103.9 kB / 0.956 GB, free: 6.836 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.265, allocations: 182 kB / 0.9562 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.2653, allocations: 122.2 kB / 0.9563 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.2653, allocations: 0 / 0.9563 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007221/0.2661, allocations: 390.5 kB / 0.9567 GB, free: 6.129 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/0.2661, allocations: 106.7 kB / 0.9568 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.2661, allocations: 4 kB / 0.9568 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.2662, allocations: 0 / 0.9568 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.2674, allocations: 175.8 kB / 0.9569 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009307/0.2683, allocations: 2.364 MB / 0.9592 GB, free: 3.379 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006674/0.269, allocations: 95.69 kB / 0.9593 GB, free: 3.285 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.2691, allocations: 16 kB / 0.9593 GB, free: 3.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.2691, allocations: 4 kB / 0.9593 GB, free: 3.266 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004929/0.2696, allocations: 288 kB / 0.9596 GB, free: 2.984 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2696, allocations: 4 kB / 0.9596 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-06/0.2696, allocations: 0 / 0.9596 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.27, allocations: 103.9 kB / 0.9597 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.27, allocations: 4 kB / 0.9597 GB, free: 2.875 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.2705, allocations: 83.52 kB / 0.9598 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.2705, allocations: 15.98 kB / 0.9598 GB, free: 2.777 MB / 0.6042 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002229/0.2708, allocations: 261 kB / 0.9601 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.2708, allocations: 67.16 kB / 0.9601 GB, free: 2.445 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.2714, allocations: 320.1 kB / 0.9604 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.2714, allocations: 7.938 kB / 0.9604 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.2714, allocations: 0 / 0.9604 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2714, allocations: 11.88 kB / 0.9605 GB, free: 2.109 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.2725, allocations: 0.8862 MB / 0.9613 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.2725, allocations: 4 kB / 0.9613 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.2728, allocations: 71.88 kB / 0.9614 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2728, allocations: 4 kB / 0.9614 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.2728, allocations: 8.188 kB / 0.9614 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000901/0.2737, allocations: 2.356 MB / 0.9637 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2738, allocations: 4 kB / 0.9637 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/0.2743, allocations: 417.9 kB / 0.9641 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.2745, allocations: 172 kB / 0.9643 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-05/0.2746, allocations: 15.94 kB / 0.9643 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.275, allocations: 43.95 kB / 0.9643 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.275, allocations: 15.98 kB / 0.9644 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.2751, allocations: 11.98 kB / 0.9644 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000518/0.2756, allocations: 467 kB / 0.9648 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2756, allocations: 0 / 0.9648 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008598/0.2765, allocations: 347.1 kB / 0.9651 GB, free: 13.12 MB / 0.6198 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000458/0.2769, allocations: 241.8 kB / 0.9654 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.2785, allocations: 495.4 kB / 0.9658 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2785, allocations: 3.938 kB / 0.9658 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003983/0.2789, allocations: 143.8 kB / 0.966 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.2809, allocations: 392 kB / 0.9664 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.2828, allocations: 1.348 MB / 0.9677 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.2833, allocations: 0.9254 MB / 0.9686 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.2834, allocations: 51.44 kB / 0.9686 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.2834, allocations: 0 / 0.9686 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of Templates: time 0.02522/0.3087, allocations: 22.06 MB / 0.9902 GB, free: 3.52 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)