Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.716/1.716, allocations: 287.4 MB / 303.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 189.5 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007387/0.0007387, allocations: 95.77 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004563, allocations: 11.7 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2155, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02387/0.2394, allocations: 28.52 MB / 1.007 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02137/0.2609, allocations: 13.18 MB / 1.02 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.2626, allocations: 31.69 kB / 1.02 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.2642, allocations: 262.2 kB / 1.02 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003818/0.2681, allocations: 0.9294 MB / 1.021 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.2704, allocations: 0.71 MB / 1.022 GB, free: 468 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003134/0.2736, allocations: 2.418 MB / 1.024 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.2748, allocations: 0.5496 MB / 1.025 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.2769, allocations: 0.8167 MB / 1.026 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.2783, allocations: 0.6262 MB / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.2785, allocations: 32 kB / 1.026 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.28, allocations: 0.5185 MB / 1.027 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.2802, allocations: 127.4 kB / 1.027 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.2806, allocations: 177.3 kB / 1.027 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.2818, allocations: 0.752 MB / 1.028 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2818, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2818, allocations: 4 kB / 1.028 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.581e-05/0.2819, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.6511 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.001906/0.2838, allocations: 1.004 MB / 1.029 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2839, allocations: 8.031 kB / 1.029 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.2841, allocations: 95.75 kB / 1.029 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009062/0.285, allocations: 0.5614 MB / 1.029 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.285, allocations: 45 kB / 1.029 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.318e-05/0.2851, allocations: 59.92 kB / 1.029 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.2859, allocations: 410.4 kB / 1.03 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.286, allocations: 4 kB / 1.03 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.286, allocations: 20 kB / 1.03 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.286, allocations: 8 kB / 1.03 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006486/0.2867, allocations: 307.8 kB / 1.03 GB, free: 7.801 MB / 0.6511 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.003075/0.2898, allocations: 1.869 MB / 1.032 GB, free: 5.781 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.2902, allocations: 178.4 kB / 1.032 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.2904, allocations: 80.81 kB / 1.032 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/0.2907, allocations: 336.4 kB / 1.033 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.2907, allocations: 38.56 kB / 1.033 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 3.085e-06/0.2908, allocations: 0 / 1.033 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0008048/0.2916, allocations: 322.7 kB / 1.033 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.2916, allocations: 51.41 kB / 1.033 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008518/0.2925, allocations: 0.6608 MB / 1.034 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.2925, allocations: 41.7 kB / 1.034 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.2928, allocations: 364 kB / 1.034 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.2929, allocations: 63.09 kB / 1.034 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.615e-05/0.2929, allocations: 4 kB / 1.034 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.2931, allocations: 382.7 kB / 1.034 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.2933, allocations: 103.9 kB / 1.035 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.2937, allocations: 178 kB / 1.035 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.2942, allocations: 237.6 kB / 1.035 GB, free: 2.621 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2942, allocations: 0 / 1.035 GB, free: 2.621 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007479/0.2949, allocations: 394.2 kB / 1.035 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.955e-05/0.295, allocations: 106.7 kB / 1.035 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.295, allocations: 0 / 1.035 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2951, allocations: 4 kB / 1.035 GB, free: 2.109 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.2961, allocations: 163.9 kB / 1.036 GB, free: 1.949 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.2975, allocations: 2.371 MB / 1.038 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/0.2982, allocations: 83.69 kB / 1.038 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.2983, allocations: 19.98 kB / 1.038 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.2983, allocations: 4 kB / 1.038 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005846/0.2989, allocations: 300.1 kB / 1.038 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2989, allocations: 3.984 kB / 1.038 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/0.2989, allocations: 4.031 kB / 1.038 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.2993, allocations: 107.9 kB / 1.038 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.2994, allocations: 3.938 kB / 1.038 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.2999, allocations: 79.73 kB / 1.038 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.2999, allocations: 19.94 kB / 1.039 GB, free: 14.87 MB / 0.6667 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.000288/0.3002, allocations: 268.9 kB / 1.039 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.3003, allocations: 67.16 kB / 1.039 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000707/0.3011, allocations: 314.4 kB / 1.039 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3011, allocations: 0 / 1.039 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3011, allocations: 4 kB / 1.039 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.3013, allocations: 168.1 kB / 1.039 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.507e-05/0.3014, allocations: 7.984 kB / 1.039 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.3018, allocations: 51.86 kB / 1.039 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.3019, allocations: 15.98 kB / 1.039 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000775/0.3027, allocations: 388 kB / 1.04 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007732/0.3034, allocations: 0.5682 MB / 1.04 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000204/0.3037, allocations: 101.5 kB / 1.04 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005628/0.3042, allocations: 463 kB / 1.041 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of Backend: time 2.905e-06/0.3042, allocations: 0 / 1.041 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002437/0.3067, allocations: 0.6719 MB / 1.041 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of SimCode: time 0.003366/0.3101, allocations: 1.972 MB / 1.043 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of Templates: time 0.02438/0.3345, allocations: 12.75 MB / 1.056 GB, free: 13.14 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)