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.002049/0.002049, allocations: 108 kB / 15.61 MB, free: 152 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.00223/0.00223, allocations: 193 kB / 16.53 MB, free: 6.664 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.614/1.614, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.926/1.926, allocations: 292.3 MB / 0.5489 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.001625/0.001625, allocations: 68.41 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3132, allocations: 114.5 MB / 0.7834 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03317/0.3464, allocations: 31.03 MB / 0.8137 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.3653, allocations: 13.97 MB / 0.8273 GB, free: 284 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.3667, allocations: 35.69 kB / 0.8273 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.368, allocations: 401.2 kB / 0.8277 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.3711, allocations: 1.138 MB / 0.8288 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.3733, allocations: 0.8415 MB / 0.8297 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002552/0.3759, allocations: 2.041 MB / 0.8316 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009824/0.3769, allocations: 0.6777 MB / 0.8323 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.3789, allocations: 0.9649 MB / 0.8333 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.38, allocations: 0.669 MB / 0.8339 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.3802, allocations: 55.94 kB / 0.834 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.3816, allocations: 0.6044 MB / 0.8345 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.3818, allocations: 171.2 kB / 0.8347 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005943/0.3824, allocations: 425.8 kB / 0.8351 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.3839, allocations: 1.075 MB / 0.8362 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3839, allocations: 7.938 kB / 0.8362 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3839, allocations: 0 / 0.8362 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.3839, allocations: 0 / 0.8362 GB, free: 7.16 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.001932/0.3859, allocations: 1.152 MB / 0.8373 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3859, allocations: 8.031 kB / 0.8373 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.3861, allocations: 95.81 kB / 0.8374 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008255/0.3869, allocations: 0.5692 MB / 0.838 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.387, allocations: 37 kB / 0.838 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-05/0.3871, allocations: 56 kB / 0.838 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000785/0.3879, allocations: 414.4 kB / 0.8384 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3879, allocations: 0 / 0.8384 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.388, allocations: 20 kB / 0.8385 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.388, allocations: 12 kB / 0.8385 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006321/0.3886, allocations: 299.8 kB / 0.8388 GB, free: 4.418 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.003016/0.3917, allocations: 1.873 MB / 0.8406 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.392, allocations: 165.1 kB / 0.8407 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.3923, allocations: 88.81 kB / 0.8408 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003978/0.3927, allocations: 340.5 kB / 0.8412 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.3927, allocations: 30.56 kB / 0.8412 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 3.396e-06/0.3927, allocations: 0 / 0.8412 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.0007992/0.3935, allocations: 308.5 kB / 0.8415 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.3936, allocations: 59.41 kB / 0.8415 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009238/0.3945, allocations: 0.6686 MB / 0.8422 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.3946, allocations: 33.7 kB / 0.8422 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.3949, allocations: 356.1 kB / 0.8426 GB, free: 244 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.395, allocations: 78.92 kB / 0.8426 GB, free: 164 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.3952, allocations: 93.58 kB / 0.8427 GB, free: 64 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.3954, allocations: 374.7 kB / 0.8431 GB, free: 15.69 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.3957, allocations: 116.8 kB / 0.8432 GB, free: 15.57 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.3961, allocations: 181.8 kB / 0.8434 GB, free: 15.37 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.3966, allocations: 236.9 kB / 0.8436 GB, free: 15.13 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3966, allocations: 4 kB / 0.8436 GB, free: 15.13 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008074/0.3974, allocations: 398 kB / 0.844 GB, free: 14.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3975, allocations: 4 kB / 0.844 GB, free: 14.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3975, allocations: 0 / 0.844 GB, free: 14.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3975, allocations: 4 kB / 0.844 GB, free: 14.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.3986, allocations: 163.8 kB / 0.8441 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.4001, allocations: 2.367 MB / 0.8464 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.4007, allocations: 51.7 kB / 0.8465 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.4008, allocations: 23.92 kB / 0.8465 GB, free: 12.03 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005108/0.4013, allocations: 244.2 kB / 0.8468 GB, free: 11.79 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003302/0.4016, allocations: 175.5 kB / 0.8469 GB, free: 11.59 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000468/0.4021, allocations: 231.4 kB / 0.8471 GB, free: 11.36 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.4021, allocations: 0 / 0.8471 GB, free: 11.36 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007752/0.4029, allocations: 384.1 kB / 0.8475 GB, free: 10.97 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4029, allocations: 4 kB / 0.8475 GB, free: 10.97 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.403, allocations: 0 / 0.8475 GB, free: 10.97 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.403, allocations: 7.938 kB / 0.8475 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.4034, allocations: 99.88 kB / 0.8476 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.4034, allocations: 0 / 0.8476 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.4039, allocations: 47.83 kB / 0.8477 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.4039, allocations: 16 kB / 0.8477 GB, free: 10.8 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.0001733/0.4041, allocations: 195.7 kB / 0.8479 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.4042, allocations: 75.09 kB / 0.8479 GB, free: 10.53 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006903/0.4049, allocations: 310.3 kB / 0.8482 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.4049, allocations: 4 kB / 0.8482 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4049, allocations: 0 / 0.8482 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.405, allocations: 7.984 kB / 0.8482 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.4062, allocations: 0.8856 MB / 0.8491 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4062, allocations: 0 / 0.8491 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.4065, allocations: 75.88 kB / 0.8492 GB, free: 9.188 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4065, allocations: 3.984 kB / 0.8492 GB, free: 9.184 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.4066, allocations: 4 kB / 0.8492 GB, free: 9.18 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.4081, allocations: 2.36 MB / 0.8515 GB, free: 6.727 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4081, allocations: 3.938 kB / 0.8515 GB, free: 6.723 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007889/0.4089, allocations: 397.8 kB / 0.8519 GB, free: 6.305 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.4092, allocations: 160.2 kB / 0.852 GB, free: 6.129 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.4093, allocations: 8 kB / 0.852 GB, free: 6.121 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.4096, allocations: 19.97 kB / 0.8521 GB, free: 6.102 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.4097, allocations: 19.86 kB / 0.8521 GB, free: 6.082 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.4098, allocations: 11.94 kB / 0.8521 GB, free: 6.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005773/0.4103, allocations: 475 kB / 0.8525 GB, free: 5.613 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4104, allocations: 0 / 0.8525 GB, free: 5.613 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001026/0.4114, allocations: 347.1 kB / 0.8529 GB, free: 5.273 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.00061/0.412, allocations: 240.2 kB / 0.8531 GB, free: 5.039 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001707/0.4137, allocations: 0.5036 MB / 0.8536 GB, free: 4.535 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4137, allocations: 0 / 0.8536 GB, free: 4.535 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004007/0.4141, allocations: 140 kB / 0.8537 GB, free: 4.398 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.4159, allocations: 342.7 kB / 0.854 GB, free: 4.07 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.4179, allocations: 1.105 MB / 0.8551 GB, free: 2.926 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.4185, allocations: 0.9257 MB / 0.856 GB, free: 1.973 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005566/0.4191, allocations: 116.5 kB / 0.8561 GB, free: 1.859 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.4192, allocations: 51.42 kB / 0.8562 GB, free: 1.809 MB / 0.67 GB Notification: Performance of SimCode: time 1.172e-06/0.4192, allocations: 0 / 0.8562 GB, free: 1.809 MB / 0.67 GB Notification: Performance of Templates: time 0.02404/0.4433, allocations: 12.72 MB / 0.8686 GB, free: 5.328 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)