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.0008797/0.0008797, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005802/0.005803, allocations: 172.7 kB / 16.27 MB, free: 6.648 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.244/1.244, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.568/1.568, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005307/0.0005308, allocations: 19 kB / 0.6744 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1788, allocations: 116.3 MB / 0.788 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02616/0.205, allocations: 30.13 MB / 0.8174 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.2215, allocations: 14.19 MB / 0.8313 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009887/0.2225, allocations: 31.75 kB / 0.8313 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009654/0.2235, allocations: 322.1 kB / 0.8316 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.2261, allocations: 1.042 MB / 0.8326 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.228, allocations: 0.7617 MB / 0.8334 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002701/0.2307, allocations: 2.83 MB / 0.8361 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008036/0.2315, allocations: 0.5534 MB / 0.8367 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.233, allocations: 0.8672 MB / 0.8375 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008893/0.2339, allocations: 0.6689 MB / 0.8382 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.727e-05/0.2341, allocations: 32 kB / 0.8382 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.2351, allocations: 0.5692 MB / 0.8388 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.2352, allocations: 139.2 kB / 0.8389 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004105/0.2357, allocations: 419.5 kB / 0.8393 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2367, allocations: 1.035 MB / 0.8403 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2367, allocations: 8 kB / 0.8403 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2368, allocations: 0 / 0.8403 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.2368, allocations: 4 kB / 0.8403 GB, free: 5.762 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.001363/0.2381, allocations: 1.004 MB / 0.8413 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2382, allocations: 12.03 kB / 0.8413 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.084e-05/0.2383, allocations: 82.72 kB / 0.8414 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.2384, allocations: 91.81 kB / 0.8415 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006741/0.2391, allocations: 0.569 MB / 0.842 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.2391, allocations: 41 kB / 0.8421 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.2392, allocations: 52 kB / 0.8421 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/0.2399, allocations: 414.4 kB / 0.8425 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2399, allocations: 0 / 0.8425 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.24, allocations: 20 kB / 0.8425 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.24, allocations: 12 kB / 0.8426 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.2406, allocations: 315.8 kB / 0.8429 GB, free: 3.062 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.002473/0.2431, allocations: 1.861 MB / 0.8447 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.2434, allocations: 174.4 kB / 0.8448 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.2436, allocations: 95.72 kB / 0.8449 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/0.2439, allocations: 336.4 kB / 0.8452 GB, free: 380 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.2439, allocations: 38.56 kB / 0.8453 GB, free: 332 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.2439, allocations: 0 / 0.8453 GB, free: 332 kB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.000686/0.2446, allocations: 320.7 kB / 0.8456 GB, free: 4 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.2447, allocations: 51.52 kB / 0.8456 GB, free: 15.94 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.2453, allocations: 0.6724 MB / 0.8463 GB, free: 15.26 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.2454, allocations: 33.7 kB / 0.8463 GB, free: 15.22 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.2456, allocations: 368 kB / 0.8467 GB, free: 14.86 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.2457, allocations: 67.05 kB / 0.8467 GB, free: 14.79 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.2457, allocations: 53.62 kB / 0.8468 GB, free: 14.73 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2459, allocations: 378.7 kB / 0.8472 GB, free: 14.35 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.2461, allocations: 107.9 kB / 0.8473 GB, free: 14.25 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.2464, allocations: 190 kB / 0.8474 GB, free: 14.04 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.2468, allocations: 248.9 kB / 0.8477 GB, free: 13.78 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2469, allocations: 4 kB / 0.8477 GB, free: 13.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00066/0.2475, allocations: 402.2 kB / 0.8481 GB, free: 13.38 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.2476, allocations: 110.7 kB / 0.8482 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2476, allocations: 4 kB / 0.8482 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2476, allocations: 4 kB / 0.8482 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009623/0.2486, allocations: 163.8 kB / 0.8483 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.2497, allocations: 2.375 MB / 0.8507 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005077/0.2502, allocations: 79.62 kB / 0.8507 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.2502, allocations: 15.98 kB / 0.8507 GB, free: 10.53 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.2502, allocations: 4 kB / 0.8507 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005609/0.2508, allocations: 300 kB / 0.851 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.2508, allocations: 0 / 0.851 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.2508, allocations: 4 kB / 0.851 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.2512, allocations: 103.8 kB / 0.8511 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2512, allocations: 4 kB / 0.8511 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.2517, allocations: 75.62 kB / 0.8512 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.2517, allocations: 19.98 kB / 0.8512 GB, free: 10.03 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.0002279/0.252, allocations: 265 kB / 0.8515 GB, free: 9.758 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.2521, allocations: 67.16 kB / 0.8516 GB, free: 9.691 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006066/0.2527, allocations: 329.5 kB / 0.8519 GB, free: 9.367 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.2527, allocations: 4.188 kB / 0.8519 GB, free: 9.363 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2527, allocations: 0 / 0.8519 GB, free: 9.363 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.2527, allocations: 3.984 kB / 0.8519 GB, free: 9.359 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.2539, allocations: 0.8955 MB / 0.8527 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.2539, allocations: 4 kB / 0.8528 GB, free: 8.391 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.2542, allocations: 71.89 kB / 0.8528 GB, free: 8.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2542, allocations: 12.06 kB / 0.8528 GB, free: 8.309 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.2542, allocations: 7.984 kB / 0.8528 GB, free: 8.301 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009009/0.2551, allocations: 2.352 MB / 0.8551 GB, free: 5.855 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.2551, allocations: 11.91 kB / 0.8551 GB, free: 5.844 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.2556, allocations: 404.5 kB / 0.8555 GB, free: 5.422 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.2558, allocations: 180 kB / 0.8557 GB, free: 5.227 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.2559, allocations: 8 kB / 0.8557 GB, free: 5.219 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.2563, allocations: 43.95 kB / 0.8558 GB, free: 5.176 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.2563, allocations: 23.91 kB / 0.8558 GB, free: 5.152 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.2564, allocations: 8 kB / 0.8558 GB, free: 5.145 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004809/0.2569, allocations: 475 kB / 0.8562 GB, free: 4.684 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2569, allocations: 0 / 0.8562 GB, free: 4.684 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007437/0.2576, allocations: 347.1 kB / 0.8566 GB, free: 4.344 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.001057/0.2587, allocations: 1.077 MB / 0.8576 GB, free: 3.238 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.2601, allocations: 0.4955 MB / 0.8581 GB, free: 2.742 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2601, allocations: 0 / 0.8581 GB, free: 2.742 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.2605, allocations: 152 kB / 0.8582 GB, free: 2.594 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.2625, allocations: 377.8 kB / 0.8586 GB, free: 2.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006233/0.2688, allocations: 5.304 MB / 0.8638 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.2692, allocations: 0.9294 MB / 0.8647 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004588/0.2697, allocations: 120.7 kB / 0.8648 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.27, allocations: 255.3 kB / 0.8651 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/0.27, allocations: 0 / 0.8651 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7644/1.034, allocations: 18.65 MB / 0.8833 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/1.035, allocations: 307.1 kB / 0.8836 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/3.367, allocations: 3.938 kB / 0.8836 GB, free: 8.895 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/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)