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.565/1.565, allocations: 252 MB / 268 MB, free: 10.86 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.0008897/0.0008897, allocations: 186.9 kB / 327.6 MB, free: 2.102 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.544/1.544, allocations: 205.4 MB / 0.5786 GB, free: 20.42 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.0009464/0.0009465, allocations: 95.06 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003324, allocations: 11.69 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2144, allocations: 106.3 MB / 0.9015 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02238/0.2368, allocations: 30.14 MB / 0.9309 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.2517, allocations: 14.17 MB / 0.9447 GB, free: 19.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.2532, allocations: 31.69 kB / 0.9447 GB, free: 19.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.2543, allocations: 310.2 kB / 0.945 GB, free: 19.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003812/0.2581, allocations: 1.056 MB / 0.9461 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.2608, allocations: 0.7637 MB / 0.9468 GB, free: 17.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003233/0.264, allocations: 2.814 MB / 0.9496 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008672/0.2649, allocations: 0.5612 MB / 0.9501 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002434/0.2673, allocations: 0.8906 MB / 0.951 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008994/0.2682, allocations: 0.6534 MB / 0.9516 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.02e-05/0.2683, allocations: 28 kB / 0.9517 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.2697, allocations: 0.573 MB / 0.9522 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.2698, allocations: 147.2 kB / 0.9524 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003678/0.2702, allocations: 415.4 kB / 0.9527 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007667/0.271, allocations: 0.7637 MB / 0.9535 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.271, allocations: 0 / 0.9535 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.914e-06/0.271, allocations: 3.938 kB / 0.9535 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.271, allocations: 0 / 0.9535 GB, free: 10.33 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.001447/0.2725, allocations: 1.01 MB / 0.9545 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2725, allocations: 8.031 kB / 0.9545 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.2727, allocations: 99.8 kB / 0.9546 GB, free: 9.164 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/0.2733, allocations: 0.5537 MB / 0.9551 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.2733, allocations: 41 kB / 0.9552 GB, free: 8.531 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.2734, allocations: 56 kB / 0.9552 GB, free: 8.477 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006201/0.274, allocations: 414.4 kB / 0.9556 GB, free: 8.066 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.2741, allocations: 0 / 0.9556 GB, free: 8.066 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.2741, allocations: 20 kB / 0.9556 GB, free: 8.047 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.2741, allocations: 12 kB / 0.9556 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.2746, allocations: 311.8 kB / 0.9559 GB, free: 7.727 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.002306/0.277, allocations: 1.854 MB / 0.9578 GB, free: 5.723 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.2773, allocations: 165.6 kB / 0.9579 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.2774, allocations: 100.8 kB / 0.958 GB, free: 5.453 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/0.2777, allocations: 336.5 kB / 0.9583 GB, free: 5.051 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.2777, allocations: 34.56 kB / 0.9584 GB, free: 5.008 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/0.2777, allocations: 4 kB / 0.9584 GB, free: 5.004 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0006471/0.2783, allocations: 320.6 kB / 0.9587 GB, free: 4.684 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.2784, allocations: 51.41 kB / 0.9587 GB, free: 4.621 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/0.279, allocations: 0.6764 MB / 0.9594 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.279, allocations: 29.7 kB / 0.9594 GB, free: 3.898 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.2792, allocations: 364 kB / 0.9598 GB, free: 3.535 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.2792, allocations: 70.98 kB / 0.9598 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.2793, allocations: 12.11 kB / 0.9598 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2794, allocations: 386.6 kB / 0.9602 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.2796, allocations: 111.9 kB / 0.9603 GB, free: 2.957 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.2799, allocations: 186 kB / 0.9605 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.2803, allocations: 249.6 kB / 0.9607 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2803, allocations: 0 / 0.9607 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00059/0.2809, allocations: 406.2 kB / 0.9611 GB, free: 2.098 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-05/0.281, allocations: 113.5 kB / 0.9612 GB, free: 1.977 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.281, allocations: 0 / 0.9612 GB, free: 1.977 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.281, allocations: 4 kB / 0.9612 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009773/0.282, allocations: 155.9 kB / 0.9614 GB, free: 1.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009923/0.283, allocations: 2.375 MB / 0.9637 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005718/0.2836, allocations: 83.66 kB / 0.9638 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.2836, allocations: 15.98 kB / 0.9638 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.2836, allocations: 4 kB / 0.9638 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005751/0.2842, allocations: 300 kB / 0.9641 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.2842, allocations: 0 / 0.9641 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.122e-06/0.2842, allocations: 4 kB / 0.9641 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.2847, allocations: 99.88 kB / 0.9642 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2847, allocations: 3.938 kB / 0.9642 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.2851, allocations: 79.53 kB / 0.9643 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.2852, allocations: 20 kB / 0.9643 GB, free: 14.75 MB / 0.6198 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.0002668/0.2855, allocations: 263.1 kB / 0.9645 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.582e-05/0.2855, allocations: 67.16 kB / 0.9646 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006663/0.2862, allocations: 323.7 kB / 0.9649 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.2862, allocations: 192 / 0.9649 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2862, allocations: 0 / 0.9649 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2863, allocations: 7.984 kB / 0.9649 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.2876, allocations: 0.8901 MB / 0.9658 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2876, allocations: 0 / 0.9658 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.2879, allocations: 76 kB / 0.9659 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2879, allocations: 4 kB / 0.9659 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.288, allocations: 8 kB / 0.9659 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.2891, allocations: 2.352 MB / 0.9682 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2891, allocations: 3.938 kB / 0.9682 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.2896, allocations: 413.3 kB / 0.9686 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.2899, allocations: 180.1 kB / 0.9687 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/0.2899, allocations: 8 kB / 0.9687 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.2903, allocations: 43.94 kB / 0.9688 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.2904, allocations: 19.92 kB / 0.9688 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.2904, allocations: 12 kB / 0.9688 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005415/0.291, allocations: 475 kB / 0.9693 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.291, allocations: 0 / 0.9693 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008955/0.2919, allocations: 355 kB / 0.9696 GB, free: 9.082 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 (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.0005161/0.2924, allocations: 244.3 kB / 0.9698 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.294, allocations: 0.5035 MB / 0.9703 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.294, allocations: 0 / 0.9703 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.2944, allocations: 144.1 kB / 0.9705 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.2965, allocations: 378.6 kB / 0.9708 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.2986, allocations: 1.404 MB / 0.9722 GB, free: 6.387 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.299, allocations: 0.9293 MB / 0.9731 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.2992, allocations: 59.42 kB / 0.9732 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.2992, allocations: 0 / 0.9732 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of Templates: time 0.02606/0.3253, allocations: 22.03 MB / 0.9947 GB, free: 15.45 MB / 0.6511 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)