Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_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.0007077/0.0007077, allocations: 92.78 kB / 15.7 MB, free: 472 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.0007556/0.0007556, allocations: 175.2 kB / 16.58 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.622/0.622, allocations: 113.7 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002837, allocations: 11.98 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.2622/0.3948, allocations: 28.25 MB / 0.5845 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.4058, allocations: 10.14 MB / 0.5944 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009304/0.4068, allocations: 23.12 kB / 0.5944 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008336/0.4076, allocations: 274.8 kB / 0.5947 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.4101, allocations: 0.9273 MB / 0.5956 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.4121, allocations: 0.7001 MB / 0.5963 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002799/0.4149, allocations: 2.407 MB / 0.5986 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008341/0.4158, allocations: 0.5224 MB / 0.5991 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.4178, allocations: 0.8326 MB / 0.5999 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.4191, allocations: 0.6308 MB / 0.6006 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-05/0.4192, allocations: 30.88 kB / 0.6006 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.4206, allocations: 0.5136 MB / 0.6011 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.4207, allocations: 130 kB / 0.6012 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.4209, allocations: 185.5 kB / 0.6014 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009766/0.4219, allocations: 0.7542 MB / 0.6021 GB, free: 10.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4219, allocations: 2.344 kB / 0.6021 GB, free: 10.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4219, allocations: 0 / 0.6021 GB, free: 10.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.422, allocations: 0 / 0.6021 GB, free: 10.29 MB / 446.1 MB 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.001614/0.4236, allocations: 1.025 MB / 0.6031 GB, free: 25.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4236, allocations: 10.89 kB / 0.6031 GB, free: 25.61 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.645e-05/0.4237, allocations: 85.7 kB / 0.6032 GB, free: 25.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.4239, allocations: 94.56 kB / 0.6033 GB, free: 25.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007612/0.4246, allocations: 0.5423 MB / 0.6038 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.4247, allocations: 43.38 kB / 0.6039 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.044e-05/0.4248, allocations: 58.66 kB / 0.6039 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.4256, allocations: 409.4 kB / 0.6043 GB, free: 25.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.4256, allocations: 6.062 kB / 0.6043 GB, free: 25.19 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.4256, allocations: 18.38 kB / 0.6043 GB, free: 25.19 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.4257, allocations: 11.34 kB / 0.6044 GB, free: 25.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.4263, allocations: 311.2 kB / 0.6047 GB, free: 25.19 MB / 462.1 MB 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.002673/0.429, allocations: 1.86 MB / 0.6065 GB, free: 24.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.4293, allocations: 172.6 kB / 0.6066 GB, free: 24.24 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.4294, allocations: 90.34 kB / 0.6067 GB, free: 24.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.4296, allocations: 342.2 kB / 0.607 GB, free: 23.85 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.4297, allocations: 36.91 kB / 0.6071 GB, free: 23.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.824e-06/0.4297, allocations: 0 / 0.6071 GB, free: 23.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006631/0.4303, allocations: 316.8 kB / 0.6074 GB, free: 23.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.4304, allocations: 56.95 kB / 0.6074 GB, free: 23.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/0.4311, allocations: 0.6791 MB / 0.6081 GB, free: 23.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.4311, allocations: 35.89 kB / 0.6081 GB, free: 23.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.4313, allocations: 364.2 kB / 0.6085 GB, free: 23.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.4314, allocations: 58.69 kB / 0.6085 GB, free: 23.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.581e-05/0.4314, allocations: 8.75 kB / 0.6085 GB, free: 23.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4315, allocations: 377 kB / 0.6089 GB, free: 23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.4317, allocations: 111.3 kB / 0.609 GB, free: 22.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.432, allocations: 174.4 kB / 0.6092 GB, free: 22.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.4322, allocations: 130.9 kB / 0.6093 GB, free: 22.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4323, allocations: 1.438 kB / 0.6093 GB, free: 22.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005868/0.4328, allocations: 395.4 kB / 0.6097 GB, free: 22.67 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.4329, allocations: 108.4 kB / 0.6098 GB, free: 22.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4329, allocations: 1.031 kB / 0.6098 GB, free: 22.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4329, allocations: 5.078 kB / 0.6098 GB, free: 22.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008757/0.4338, allocations: 168.6 kB / 0.61 GB, free: 22.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.4348, allocations: 2.362 MB / 0.6123 GB, free: 20.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/0.4354, allocations: 82.36 kB / 0.6123 GB, free: 20.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.4355, allocations: 18.09 kB / 0.6124 GB, free: 20.12 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.934e-06/0.4355, allocations: 9.656 kB / 0.6124 GB, free: 20.12 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000524/0.436, allocations: 296.4 kB / 0.6126 GB, free: 20.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.4361, allocations: 1.062 kB / 0.6126 GB, free: 20.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-06/0.4361, allocations: 3.062 kB / 0.6127 GB, free: 20.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.4365, allocations: 116.7 kB / 0.6128 GB, free: 20 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4365, allocations: 1.312 kB / 0.6128 GB, free: 20 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/0.4369, allocations: 79.48 kB / 0.6128 GB, free: 19.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.4369, allocations: 13.97 kB / 0.6129 GB, free: 19.98 MB / 462.1 MB 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.0002678/0.4372, allocations: 269.5 kB / 0.6131 GB, free: 19.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/0.4373, allocations: 72.09 kB / 0.6132 GB, free: 19.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005826/0.4379, allocations: 313.1 kB / 0.6135 GB, free: 19.58 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.4379, allocations: 2.75 kB / 0.6135 GB, free: 19.58 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4379, allocations: 4 kB / 0.6135 GB, free: 19.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.4379, allocations: 6.375 kB / 0.6135 GB, free: 19.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.4391, allocations: 0.9003 MB / 0.6144 GB, free: 19.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4391, allocations: 1.469 kB / 0.6144 GB, free: 19.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.4394, allocations: 77 kB / 0.6144 GB, free: 19.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4394, allocations: 2.562 kB / 0.6144 GB, free: 19.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.4394, allocations: 7.469 kB / 0.6145 GB, free: 19.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008921/0.4403, allocations: 2.351 MB / 0.6168 GB, free: 16.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4403, allocations: 5.062 kB / 0.6168 GB, free: 16.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.4408, allocations: 407.4 kB / 0.6171 GB, free: 16.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.441, allocations: 172.9 kB / 0.6173 GB, free: 16.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-05/0.441, allocations: 8.359 kB / 0.6173 GB, free: 16.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.4414, allocations: 58.23 kB / 0.6174 GB, free: 16.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.4415, allocations: 13.64 kB / 0.6174 GB, free: 16.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.4415, allocations: 14 kB / 0.6174 GB, free: 16.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00049/0.442, allocations: 473.8 kB / 0.6179 GB, free: 16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.442, allocations: 2.734 kB / 0.6179 GB, free: 16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008809/0.4429, allocations: 348.9 kB / 0.6182 GB, free: 15.93 MB / 462.1 MB 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.001015/0.4439, allocations: 1.087 MB / 0.6192 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.4453, allocations: 0.4915 MB / 0.6197 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4453, allocations: 1.281 kB / 0.6197 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.4456, allocations: 143.2 kB / 0.6199 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.4472, allocations: 382 kB / 0.6202 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.4519, allocations: 3.545 MB / 0.6237 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.4523, allocations: 0.9386 MB / 0.6246 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004895/0.4528, allocations: 124 kB / 0.6247 GB, free: 12.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.4531, allocations: 256.5 kB / 0.625 GB, free: 11.97 MB / 462.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4531, allocations: 1.375 kB / 0.625 GB, free: 11.97 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.4842, allocations: 18.44 MB / 0.643 GB, free: 15.26 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/0.4844, allocations: 271.8 kB / 0.6432 GB, free: 14.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.43, allocations: 0 / 0.6432 GB, free: 14.91 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: