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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001163, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.835/1.835, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005012/0.0005014, allocations: 19.42 kB / 0.6738 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2788, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.0289/0.3078, allocations: 28.54 MB / 0.8153 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01949/0.3273, allocations: 13.18 MB / 0.8281 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.3291, allocations: 35.69 kB / 0.8282 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.3302, allocations: 262.2 kB / 0.8284 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.3332, allocations: 0.9247 MB / 0.8293 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.3354, allocations: 0.7045 MB / 0.83 GB, free: 96 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003134/0.3385, allocations: 2.404 MB / 0.8324 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000893/0.3394, allocations: 0.5148 MB / 0.8329 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.3412, allocations: 0.8167 MB / 0.8337 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009856/0.3422, allocations: 0.6262 MB / 0.8343 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.3423, allocations: 32 kB / 0.8343 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.3435, allocations: 0.5146 MB / 0.8348 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.3437, allocations: 131.4 kB / 0.8349 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.3439, allocations: 177.3 kB / 0.8351 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009347/0.3449, allocations: 0.7442 MB / 0.8358 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3449, allocations: 0 / 0.8358 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3449, allocations: 0 / 0.8358 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.3449, allocations: 0 / 0.8358 GB, free: 10.11 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.001708/0.3466, allocations: 1.024 MB / 0.8368 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3467, allocations: 12.03 kB / 0.8368 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.3468, allocations: 90.47 kB / 0.8369 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.3469, allocations: 94.86 kB / 0.837 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007919/0.3477, allocations: 0.5343 MB / 0.8375 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.3478, allocations: 41 kB / 0.8376 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.32e-05/0.3479, allocations: 56 kB / 0.8376 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/0.3486, allocations: 406.4 kB / 0.838 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3487, allocations: 0 / 0.838 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.3487, allocations: 27.95 kB / 0.838 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.3487, allocations: 12 kB / 0.8381 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/0.3494, allocations: 307.8 kB / 0.8384 GB, free: 7.414 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.002929/0.3523, allocations: 1.85 MB / 0.8402 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.3527, allocations: 178.5 kB / 0.8403 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.3529, allocations: 84.81 kB / 0.8404 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003426/0.3532, allocations: 336.4 kB / 0.8407 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.3533, allocations: 38.67 kB / 0.8408 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.3533, allocations: 7.938 kB / 0.8408 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.0007454/0.354, allocations: 318.8 kB / 0.8411 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.3541, allocations: 59.41 kB / 0.8411 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008395/0.3549, allocations: 0.6608 MB / 0.8418 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.355, allocations: 33.7 kB / 0.8418 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.3553, allocations: 368.1 kB / 0.8422 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.3554, allocations: 63.02 kB / 0.8422 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.3554, allocations: 4 kB / 0.8422 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3556, allocations: 382.7 kB / 0.8426 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.3558, allocations: 104 kB / 0.8427 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.3561, allocations: 178 kB / 0.8429 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.3564, allocations: 141.5 kB / 0.843 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3564, allocations: 0 / 0.843 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006698/0.3571, allocations: 390.5 kB / 0.8434 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-05/0.3572, allocations: 114.7 kB / 0.8435 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3572, allocations: 0 / 0.8435 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3572, allocations: 0 / 0.8435 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.3582, allocations: 159.9 kB / 0.8436 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.3598, allocations: 2.364 MB / 0.8459 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.3604, allocations: 87.69 kB / 0.846 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.3604, allocations: 23.98 kB / 0.846 GB, free: 15.11 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.3604, allocations: 4 kB / 0.846 GB, free: 15.1 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005626/0.361, allocations: 292.1 kB / 0.8463 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/0.361, allocations: 0 / 0.8463 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.593e-06/0.361, allocations: 4 kB / 0.8463 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.3614, allocations: 99.88 kB / 0.8464 GB, free: 14.71 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3614, allocations: 4 kB / 0.8464 GB, free: 14.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/0.3619, allocations: 83.48 kB / 0.8465 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.3619, allocations: 19.98 kB / 0.8465 GB, free: 14.61 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 (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.0003253/0.3623, allocations: 257 kB / 0.8468 GB, free: 14.35 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.008e-05/0.3623, allocations: 67.16 kB / 0.8468 GB, free: 14.28 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006444/0.363, allocations: 324 kB / 0.8471 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.363, allocations: 0 / 0.8471 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.363, allocations: 0 / 0.8471 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3631, allocations: 11.94 kB / 0.8472 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.3644, allocations: 0.8956 MB / 0.848 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3644, allocations: 4.125 kB / 0.848 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.3647, allocations: 75.81 kB / 0.8481 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/0.3647, allocations: 4 kB / 0.8481 GB, free: 12.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.3647, allocations: 11.98 kB / 0.8481 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.366, allocations: 2.356 MB / 0.8504 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3661, allocations: 0 / 0.8504 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006002/0.3667, allocations: 413.4 kB / 0.8508 GB, free: 10.01 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.3669, allocations: 168.2 kB / 0.851 GB, free: 9.828 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.367, allocations: 7.953 kB / 0.851 GB, free: 9.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.3674, allocations: 55.8 kB / 0.851 GB, free: 9.766 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.3674, allocations: 19.91 kB / 0.8511 GB, free: 9.746 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.3675, allocations: 12 kB / 0.8511 GB, free: 9.734 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005843/0.3681, allocations: 463 kB / 0.8515 GB, free: 9.285 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3681, allocations: 0 / 0.8515 GB, free: 9.285 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009914/0.3691, allocations: 339.2 kB / 0.8518 GB, free: 8.953 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 (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.001376/0.3705, allocations: 1.083 MB / 0.8529 GB, free: 7.84 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.3721, allocations: 0.495 MB / 0.8534 GB, free: 7.348 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.3721, allocations: 4 kB / 0.8534 GB, free: 7.344 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.3724, allocations: 143.8 kB / 0.8535 GB, free: 7.203 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.3743, allocations: 386.2 kB / 0.8539 GB, free: 6.832 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005782/0.3801, allocations: 3.527 MB / 0.8573 GB, free: 3.23 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.3807, allocations: 0.9294 MB / 0.8582 GB, free: 2.273 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006557/0.3814, allocations: 116.6 kB / 0.8583 GB, free: 2.16 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.3817, allocations: 259.3 kB / 0.8586 GB, free: 1.906 MB / 0.67 GB Notification: Performance of SimCode: time 1.522e-06/0.3817, allocations: 4 kB / 0.8586 GB, free: 1.902 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04144/0.4232, allocations: 18.55 MB / 0.8767 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000286/0.4235, allocations: 275.6 kB / 0.877 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/2.866, allocations: 3.938 kB / 0.877 GB, free: 15.46 MB / 0.7012 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: