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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.688/1.688, allocations: 287.4 MB / 302.6 MB, free: 8.207 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.001001/0.001001, allocations: 182 kB / 371.1 MB, free: 10.81 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.304/1.304, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0008445/0.0008445, allocations: 96.61 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003875, allocations: 11.61 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1892, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.01955/0.2088, allocations: 28.53 MB / 1.007 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01511/0.2239, allocations: 13.18 MB / 1.019 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008317/0.2248, allocations: 31.69 kB / 1.019 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009623/0.2258, allocations: 274.1 kB / 1.02 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.2282, allocations: 0.9268 MB / 1.021 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.23, allocations: 0.6989 MB / 1.021 GB, free: 368 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002273/0.2322, allocations: 2.428 MB / 1.024 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000667/0.2329, allocations: 0.5457 MB / 1.024 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.2342, allocations: 0.8167 MB / 1.025 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006765/0.2349, allocations: 0.6301 MB / 1.026 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 7.028e-05/0.235, allocations: 32 kB / 1.026 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009007/0.2359, allocations: 0.5107 MB / 1.026 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.236, allocations: 127.4 kB / 1.026 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.2362, allocations: 181.3 kB / 1.026 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0007049/0.2369, allocations: 0.7519 MB / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2369, allocations: 0 / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2369, allocations: 7.938 kB / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.2369, allocations: 4 kB / 1.027 GB, free: 10.29 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.001431/0.2384, allocations: 1 MB / 1.028 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.2384, allocations: 12.03 kB / 1.028 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.656e-05/0.2385, allocations: 86.7 kB / 1.028 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.2387, allocations: 95.81 kB / 1.028 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007043/0.2394, allocations: 0.5612 MB / 1.029 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.2394, allocations: 45 kB / 1.029 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.46e-05/0.2395, allocations: 52 kB / 1.029 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/0.2402, allocations: 414.4 kB / 1.029 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2402, allocations: 0 / 1.029 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.2402, allocations: 20 kB / 1.029 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.2403, allocations: 8 kB / 1.029 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005767/0.2408, allocations: 307.8 kB / 1.03 GB, free: 7.602 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.002546/0.2434, allocations: 1.869 MB / 1.032 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.2437, allocations: 174.4 kB / 1.032 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.2439, allocations: 84.81 kB / 1.032 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.2443, allocations: 336.4 kB / 1.032 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.2444, allocations: 42.48 kB / 1.032 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 1.512e-06/0.2444, allocations: 0 / 1.032 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0007432/0.2451, allocations: 314.8 kB / 1.032 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.2452, allocations: 59.39 kB / 1.033 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007358/0.2459, allocations: 0.6608 MB / 1.033 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.246, allocations: 33.7 kB / 1.033 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.2462, allocations: 368 kB / 1.034 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.2463, allocations: 67.03 kB / 1.034 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.2463, allocations: 4 kB / 1.034 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2465, allocations: 382.7 kB / 1.034 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.2467, allocations: 107.9 kB / 1.034 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.2471, allocations: 181.9 kB / 1.034 GB, free: 2.648 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.2475, allocations: 229.6 kB / 1.034 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2475, allocations: 4 kB / 1.035 GB, free: 2.414 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006654/0.2482, allocations: 390.2 kB / 1.035 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.611e-05/0.2483, allocations: 110.7 kB / 1.035 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.2483, allocations: 8 kB / 1.035 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.2483, allocations: 0 / 1.035 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009803/0.2493, allocations: 167.7 kB / 1.035 GB, free: 1.734 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.2505, allocations: 2.368 MB / 1.037 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.251, allocations: 83.66 kB / 1.038 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.2511, allocations: 16 kB / 1.038 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/0.2511, allocations: 4 kB / 1.038 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005436/0.2516, allocations: 296.1 kB / 1.038 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/0.2516, allocations: 4 kB / 1.038 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-06/0.2516, allocations: 4.031 kB / 1.038 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.2521, allocations: 111.9 kB / 1.038 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.2521, allocations: 3.938 kB / 1.038 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.2525, allocations: 75.62 kB / 1.038 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.2525, allocations: 16 kB / 1.038 GB, free: 14.67 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.0002689/0.2528, allocations: 265 kB / 1.038 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.608e-05/0.2529, allocations: 71.16 kB / 1.038 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006721/0.2536, allocations: 317.9 kB / 1.039 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.2536, allocations: 7.984 kB / 1.039 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2536, allocations: 0 / 1.039 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2536, allocations: 0 / 1.039 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.2549, allocations: 0.8962 MB / 1.04 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.2549, allocations: 4 kB / 1.04 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.2552, allocations: 71.88 kB / 1.04 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.2552, allocations: 4 kB / 1.04 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.2552, allocations: 4 kB / 1.04 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.2563, allocations: 2.356 MB / 1.042 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2563, allocations: 4.031 kB / 1.042 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.2569, allocations: 413.8 kB / 1.042 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.2571, allocations: 172 kB / 1.042 GB, free: 9.887 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.959e-05/0.2572, allocations: 4 kB / 1.043 GB, free: 9.883 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.2576, allocations: 59.88 kB / 1.043 GB, free: 9.824 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.2576, allocations: 15.98 kB / 1.043 GB, free: 9.809 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.2576, allocations: 12 kB / 1.043 GB, free: 9.797 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005386/0.2582, allocations: 463 kB / 1.043 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2582, allocations: 0 / 1.043 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008072/0.259, allocations: 351.1 kB / 1.043 GB, free: 9.004 MB / 0.6667 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.001197/0.2602, allocations: 1.072 MB / 1.044 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.2618, allocations: 0.4916 MB / 1.045 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2618, allocations: 4 kB / 1.045 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.2622, allocations: 148 kB / 1.045 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.2642, allocations: 374.5 kB / 1.045 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/0.2694, allocations: 3.529 MB / 1.049 GB, free: 3.293 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.2699, allocations: 0.9215 MB / 1.05 GB, free: 2.344 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004927/0.2704, allocations: 125.3 kB / 1.05 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.2707, allocations: 255.3 kB / 1.05 GB, free: 1.973 MB / 0.6667 GB Notification: Performance of SimCode: time 7.52e-07/0.2707, allocations: 0 / 1.05 GB, free: 1.973 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8575/1.128, allocations: 18.53 MB / 1.068 GB, free: 87.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/1.128, allocations: 270 kB / 1.068 GB, free: 87.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.869/3.997, allocations: 3.719 kB / 1.068 GB, free: 87.28 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)