Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV",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.001172/0.001172, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.007293/0.007293, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.14/1.14, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6522/0.6522, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002826, allocations: 12.62 kB / 0.5041 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.341, allocations: 81.58 MB / 0.5838 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02049/0.3616, allocations: 21.61 MB / 0.6049 GB, free: 4.406 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007105/0.3687, allocations: 5.194 MB / 0.6099 GB, free: 276 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005544/0.3693, allocations: 16.62 kB / 0.6099 GB, free: 268 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006925/0.37, allocations: 254.6 kB / 0.6102 GB, free: 52 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.3718, allocations: 0.7975 MB / 0.611 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.3733, allocations: 0.6524 MB / 0.6116 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001826/0.3752, allocations: 1.866 MB / 0.6134 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005642/0.3757, allocations: 440.1 kB / 0.6138 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009154/0.3767, allocations: 0.5551 MB / 0.6144 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005559/0.3772, allocations: 451.7 kB / 0.6148 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.001e-05/0.3773, allocations: 20.59 kB / 0.6148 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009661/0.3783, allocations: 0.5811 MB / 0.6154 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.3784, allocations: 120.3 kB / 0.6155 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.3787, allocations: 346.1 kB / 0.6159 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.3798, allocations: 1.006 MB / 0.6168 GB, free: 11.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3798, allocations: 5.156 kB / 0.6168 GB, free: 11.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3798, allocations: 0 / 0.6168 GB, free: 11.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.3798, allocations: 0 / 0.6168 GB, free: 11.72 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001503/0.3813, allocations: 0.9325 MB / 0.6178 GB, free: 10.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3814, allocations: 16.58 kB / 0.6178 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.076e-05/0.3814, allocations: 65.52 kB / 0.6178 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.3816, allocations: 78.31 kB / 0.6179 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007681/0.3823, allocations: 0.5601 MB / 0.6185 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.3824, allocations: 28.91 kB / 0.6185 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.3825, allocations: 43 kB / 0.6185 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.3831, allocations: 311.4 kB / 0.6188 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3831, allocations: 5.031 kB / 0.6188 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.3831, allocations: 10.25 kB / 0.6188 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.3831, allocations: 12.25 kB / 0.6188 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005475/0.3837, allocations: 269.3 kB / 0.6191 GB, free: 10.02 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.002344/0.386, allocations: 1.586 MB / 0.6207 GB, free: 8.672 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.3864, allocations: 191.3 kB / 0.6208 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.3866, allocations: 99.7 kB / 0.6209 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003459/0.387, allocations: 420.8 kB / 0.6213 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.387, allocations: 35.92 kB / 0.6214 GB, free: 7.992 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/0.387, allocations: 0 / 0.6214 GB, free: 7.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007449/0.3878, allocations: 348.6 kB / 0.6217 GB, free: 7.816 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.3878, allocations: 57.53 kB / 0.6218 GB, free: 7.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/0.3886, allocations: 0.6477 MB / 0.6224 GB, free: 7.363 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.3887, allocations: 35.83 kB / 0.6224 GB, free: 7.324 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.3889, allocations: 302.9 kB / 0.6227 GB, free: 7.055 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.3889, allocations: 65.22 kB / 0.6228 GB, free: 7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/0.389, allocations: 50.28 kB / 0.6228 GB, free: 6.961 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3892, allocations: 376 kB / 0.6232 GB, free: 6.598 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.3895, allocations: 129 kB / 0.6233 GB, free: 6.539 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.3898, allocations: 218.7 kB / 0.6235 GB, free: 6.395 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.3904, allocations: 298.8 kB / 0.6238 GB, free: 6.223 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3904, allocations: 0.9062 kB / 0.6238 GB, free: 6.223 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008041/0.3912, allocations: 463.3 kB / 0.6242 GB, free: 5.992 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.351e-05/0.3913, allocations: 115.2 kB / 0.6243 GB, free: 5.867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3913, allocations: 9.094 kB / 0.6244 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3913, allocations: 3.219 kB / 0.6244 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.3921, allocations: 153.3 kB / 0.6245 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006638/0.3928, allocations: 1.193 MB / 0.6257 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.3933, allocations: 68.77 kB / 0.6257 GB, free: 4.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.3933, allocations: 21.09 kB / 0.6258 GB, free: 4.555 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.545e-06/0.3933, allocations: 6.75 kB / 0.6258 GB, free: 4.551 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007501/0.3941, allocations: 365.9 kB / 0.6261 GB, free: 4.387 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.3941, allocations: 1.25 kB / 0.6261 GB, free: 4.387 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.369e-06/0.3941, allocations: 3.062 kB / 0.6261 GB, free: 4.387 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.3946, allocations: 120.7 kB / 0.6262 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3946, allocations: 4 kB / 0.6262 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.395, allocations: 59.66 kB / 0.6263 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.3951, allocations: 19.98 kB / 0.6263 GB, free: 4.246 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002338/0.3953, allocations: 261 kB / 0.6266 GB, free: 3.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.509e-05/0.3954, allocations: 63.19 kB / 0.6266 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006625/0.3961, allocations: 330.9 kB / 0.6269 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3961, allocations: 4 kB / 0.6269 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.3961, allocations: 0 / 0.6269 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3961, allocations: 3.984 kB / 0.6269 GB, free: 3.582 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.3974, allocations: 0.9135 MB / 0.6278 GB, free: 2.602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3975, allocations: 0 / 0.6278 GB, free: 2.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.3977, allocations: 79.98 kB / 0.6279 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3978, allocations: 192 / 0.6279 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.3978, allocations: 8 kB / 0.6279 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005182/0.3983, allocations: 1.184 MB / 0.6291 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3983, allocations: 3.984 kB / 0.6291 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007674/0.3991, allocations: 0.5284 MB / 0.6296 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.3993, allocations: 184.2 kB / 0.6298 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.3994, allocations: 15.88 kB / 0.6298 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.3997, allocations: 28.03 kB / 0.6298 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.3998, allocations: 19.97 kB / 0.6298 GB, free: 476 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3998, allocations: 8 kB / 0.6298 GB, free: 468 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005186/0.4004, allocations: 455 kB / 0.6303 GB, free: 16 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.4004, allocations: 0 / 0.6303 GB, free: 16 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007972/0.4012, allocations: 307.5 kB / 0.6306 GB, free: 15.71 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * 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): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001384/0.4026, allocations: 1.208 MB / 0.6317 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.4039, allocations: 0.5284 MB / 0.6323 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4039, allocations: 0 / 0.6323 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.4042, allocations: 136.3 kB / 0.6324 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.4058, allocations: 292.7 kB / 0.6327 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006682/0.4125, allocations: 5.093 MB / 0.6376 GB, free: 8.324 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.4129, allocations: 0.8861 MB / 0.6385 GB, free: 7.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004978/0.4134, allocations: 116.8 kB / 0.6386 GB, free: 7.293 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.4137, allocations: 231.3 kB / 0.6388 GB, free: 7.066 MB / 478.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4137, allocations: 4 kB / 0.6388 GB, free: 7.062 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04655/0.4603, allocations: 16.41 MB / 0.6549 GB, free: 7.023 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.4605, allocations: 279.6 kB / 0.6551 GB, free: 6.656 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/2.563, allocations: 0 / 0.6551 GB, free: 6.656 MB / 494.1 MB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)