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.0008791/0.0008791, allocations: 99.28 kB / 16.02 MB, free: 80 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.0008468/0.0008467, allocations: 182.7 kB / 16.92 MB, free: 6.691 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.271/1.271, allocations: 223.3 MB / 241 MB, free: 5.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6514/0.6514, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.000287, allocations: 8 kB / 495.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1247, allocations: 77.53 MB / 0.56 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.2644/0.3891, allocations: 29.83 MB / 0.5892 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.3997, allocations: 10.73 MB / 0.5996 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007499/0.4005, allocations: 22.41 kB / 0.5997 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008041/0.4013, allocations: 304.7 kB / 0.6 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.4037, allocations: 1.07 MB / 0.601 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.4056, allocations: 0.7555 MB / 0.6017 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002942/0.4085, allocations: 2.835 MB / 0.6045 GB, free: 9.484 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008115/0.4093, allocations: 0.5591 MB / 0.6051 GB, free: 9.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.4109, allocations: 0.8894 MB / 0.6059 GB, free: 8.926 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008267/0.4117, allocations: 0.6638 MB / 0.6066 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.018e-05/0.4118, allocations: 34.94 kB / 0.6066 GB, free: 8.707 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.4131, allocations: 0.5713 MB / 0.6072 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.4132, allocations: 137.1 kB / 0.6073 GB, free: 8.477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003618/0.4136, allocations: 429.9 kB / 0.6077 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.4147, allocations: 1.049 MB / 0.6087 GB, free: 7.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4147, allocations: 0 / 0.6087 GB, free: 7.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4147, allocations: 0 / 0.6087 GB, free: 7.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.4148, allocations: 1.625 kB / 0.6087 GB, free: 7.93 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.001482/0.4162, allocations: 1.016 MB / 0.6097 GB, free: 23.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.4163, allocations: 13.36 kB / 0.6097 GB, free: 23.19 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.286e-05/0.4164, allocations: 92 kB / 0.6098 GB, free: 23.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.4165, allocations: 99.62 kB / 0.6099 GB, free: 23.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/0.4171, allocations: 0.5572 MB / 0.6105 GB, free: 22.69 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.4172, allocations: 44.22 kB / 0.6105 GB, free: 22.67 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.4172, allocations: 55.97 kB / 0.6106 GB, free: 22.65 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006615/0.4179, allocations: 415.9 kB / 0.611 GB, free: 22.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.4179, allocations: 0.625 kB / 0.611 GB, free: 22.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.418, allocations: 15.22 kB / 0.611 GB, free: 22.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.418, allocations: 11.88 kB / 0.611 GB, free: 22.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.4185, allocations: 318.3 kB / 0.6113 GB, free: 22.38 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.002328/0.4209, allocations: 1.863 MB / 0.6131 GB, free: 21.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.4212, allocations: 182.1 kB / 0.6133 GB, free: 21.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.4214, allocations: 96.12 kB / 0.6134 GB, free: 21.06 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.4216, allocations: 336.3 kB / 0.6137 GB, free: 20.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.4216, allocations: 34.91 kB / 0.6137 GB, free: 20.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.4216, allocations: 0 / 0.6137 GB, free: 20.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006914/0.4223, allocations: 325.1 kB / 0.614 GB, free: 20.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.4224, allocations: 54.12 kB / 0.6141 GB, free: 20.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007452/0.4231, allocations: 0.685 MB / 0.6148 GB, free: 20.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.4232, allocations: 32.52 kB / 0.6148 GB, free: 20.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.4234, allocations: 375.7 kB / 0.6151 GB, free: 19.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.4234, allocations: 63.44 kB / 0.6152 GB, free: 19.78 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.4235, allocations: 46.39 kB / 0.6153 GB, free: 19.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4237, allocations: 376.7 kB / 0.6156 GB, free: 19.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.4239, allocations: 110.7 kB / 0.6157 GB, free: 19.38 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.4242, allocations: 187.8 kB / 0.6159 GB, free: 19.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.4247, allocations: 258.2 kB / 0.6161 GB, free: 19.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4247, allocations: 0 / 0.6161 GB, free: 19.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000685/0.4254, allocations: 406.7 kB / 0.6165 GB, free: 18.99 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.4254, allocations: 106 kB / 0.6166 GB, free: 18.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4255, allocations: 1.406 kB / 0.6166 GB, free: 18.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.4255, allocations: 4.812 kB / 0.6166 GB, free: 18.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009725/0.4265, allocations: 154.5 kB / 0.6168 GB, free: 18.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.4277, allocations: 2.375 MB / 0.6191 GB, free: 16.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.4282, allocations: 92.78 kB / 0.6192 GB, free: 16.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.4283, allocations: 14.44 kB / 0.6192 GB, free: 16.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.513e-06/0.4283, allocations: 3.438 kB / 0.6192 GB, free: 16.45 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005751/0.4289, allocations: 299.6 kB / 0.6195 GB, free: 16.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-06/0.4289, allocations: 1.031 kB / 0.6195 GB, free: 16.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.928e-06/0.4289, allocations: 2.344 kB / 0.6195 GB, free: 16.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.4293, allocations: 100.6 kB / 0.6196 GB, free: 16.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.4293, allocations: 1.75 kB / 0.6196 GB, free: 16.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.4298, allocations: 84.11 kB / 0.6197 GB, free: 16.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.4298, allocations: 16.88 kB / 0.6197 GB, free: 16.3 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 (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.0002291/0.4301, allocations: 265.4 kB / 0.6199 GB, free: 16.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/0.4301, allocations: 71.11 kB / 0.62 GB, free: 16.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/0.4307, allocations: 330.8 kB / 0.6203 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.4308, allocations: 2.906 kB / 0.6203 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4308, allocations: 1.25 kB / 0.6203 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4308, allocations: 0 / 0.6203 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.4319, allocations: 0.8979 MB / 0.6212 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.432, allocations: 1 kB / 0.6212 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.4323, allocations: 91.5 kB / 0.6213 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4323, allocations: 2.156 kB / 0.6213 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4323, allocations: 3.344 kB / 0.6213 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.4333, allocations: 2.36 MB / 0.6236 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4333, allocations: 1.25 kB / 0.6236 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.4338, allocations: 403.5 kB / 0.624 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.434, allocations: 180.7 kB / 0.6242 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.434, allocations: 5.719 kB / 0.6242 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.4344, allocations: 47.64 kB / 0.6242 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.4345, allocations: 25.03 kB / 0.6242 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.4345, allocations: 5.938 kB / 0.6242 GB, free: 12.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005326/0.435, allocations: 474.7 kB / 0.6247 GB, free: 12.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.435, allocations: 0 / 0.6247 GB, free: 12.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008666/0.4359, allocations: 354.5 kB / 0.625 GB, free: 12.07 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 (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.00112/0.4371, allocations: 1.076 MB / 0.6261 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.4385, allocations: 0.5059 MB / 0.6266 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4385, allocations: 0 / 0.6266 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.4388, allocations: 144.6 kB / 0.6267 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.4408, allocations: 372.8 kB / 0.6271 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006432/0.4473, allocations: 5.35 MB / 0.6323 GB, free: 7.215 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.4477, allocations: 0.931 MB / 0.6332 GB, free: 6.406 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004354/0.4482, allocations: 117.3 kB / 0.6333 GB, free: 6.352 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.4485, allocations: 254.9 kB / 0.6336 GB, free: 6.137 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4485, allocations: 0 / 0.6336 GB, free: 6.137 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/0.4814, allocations: 18.51 MB / 0.6516 GB, free: 6.996 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.4816, allocations: 302.3 kB / 0.6519 GB, free: 6.609 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.75, allocations: 0 / 0.6519 GB, free: 6.609 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/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)