Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.Validation.TwoWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_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.001002/0.001001, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001181/0.001181, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8066/0.8066, allocations: 132.3 MB / 423.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 12.22 kB / 0.5035 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4302, allocations: 81.58 MB / 0.5832 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03029/0.4605, allocations: 28.28 MB / 0.6108 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.4737, allocations: 10.14 MB / 0.6207 GB, free: 7.141 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.475, allocations: 23.09 kB / 0.6207 GB, free: 7.129 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009867/0.476, allocations: 276.3 kB / 0.621 GB, free: 6.898 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.4786, allocations: 0.9239 MB / 0.6219 GB, free: 6.152 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.4807, allocations: 0.7091 MB / 0.6226 GB, free: 5.645 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002941/0.4836, allocations: 2.405 MB / 0.6249 GB, free: 4.223 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.4847, allocations: 0.5263 MB / 0.6254 GB, free: 3.883 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.4869, allocations: 0.8293 MB / 0.6262 GB, free: 3.418 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.4883, allocations: 0.6303 MB / 0.6269 GB, free: 3.062 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.4885, allocations: 30.22 kB / 0.6269 GB, free: 3.062 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.49, allocations: 0.515 MB / 0.6274 GB, free: 2.793 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.4903, allocations: 130.5 kB / 0.6275 GB, free: 2.691 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004649/0.4908, allocations: 180.9 kB / 0.6277 GB, free: 2.59 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.4924, allocations: 0.7635 MB / 0.6284 GB, free: 2.086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4925, allocations: 0 / 0.6284 GB, free: 2.086 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4925, allocations: 0 / 0.6284 GB, free: 2.086 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.215e-05/0.4925, allocations: 1.031 kB / 0.6284 GB, free: 2.086 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.00271/0.4953, allocations: 1.024 MB / 0.6294 GB, free: 1.066 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4953, allocations: 12.03 kB / 0.6294 GB, free: 1.055 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.4955, allocations: 86.52 kB / 0.6295 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.4957, allocations: 94.88 kB / 0.6296 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.4967, allocations: 0.5382 MB / 0.6301 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.4968, allocations: 41 kB / 0.6302 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/0.4969, allocations: 56 kB / 0.6302 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007842/0.4977, allocations: 406.4 kB / 0.6306 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.4977, allocations: 3.953 kB / 0.6306 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.4977, allocations: 20 kB / 0.6306 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.4977, allocations: 12 kB / 0.6307 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006021/0.4984, allocations: 315.8 kB / 0.631 GB, free: 15.45 MB / 478.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.002906/0.5013, allocations: 1.862 MB / 0.6328 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.5016, allocations: 174.2 kB / 0.6329 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.5018, allocations: 84.81 kB / 0.633 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.5021, allocations: 340.3 kB / 0.6333 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.5021, allocations: 34.56 kB / 0.6334 GB, free: 12.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.863e-06/0.5021, allocations: 0 / 0.6334 GB, free: 12.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007234/0.5029, allocations: 322.5 kB / 0.6337 GB, free: 12.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.5029, allocations: 55.41 kB / 0.6337 GB, free: 12.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000793/0.5037, allocations: 0.6803 MB / 0.6344 GB, free: 11.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.5038, allocations: 37.7 kB / 0.6344 GB, free: 11.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.504, allocations: 364.7 kB / 0.6348 GB, free: 11.24 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.5041, allocations: 67.09 kB / 0.6349 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.5041, allocations: 4 kB / 0.6349 GB, free: 11.17 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002416/0.5044, allocations: 374.8 kB / 0.6352 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.5046, allocations: 100.7 kB / 0.6353 GB, free: 10.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.5049, allocations: 191.7 kB / 0.6355 GB, free: 10.49 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.5052, allocations: 126.2 kB / 0.6356 GB, free: 10.37 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5052, allocations: 3.938 kB / 0.6356 GB, free: 10.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006661/0.5059, allocations: 390.6 kB / 0.636 GB, free: 9.977 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.5059, allocations: 114.6 kB / 0.6361 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.506, allocations: 0 / 0.6361 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.506, allocations: 7.953 kB / 0.6361 GB, free: 9.844 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009347/0.5069, allocations: 163.7 kB / 0.6363 GB, free: 9.684 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.5082, allocations: 2.356 MB / 0.6386 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006145/0.5088, allocations: 87.69 kB / 0.6386 GB, free: 7.148 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.5089, allocations: 16 kB / 0.6387 GB, free: 7.133 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.5089, allocations: 5.875 kB / 0.6387 GB, free: 7.129 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005578/0.5095, allocations: 296 kB / 0.639 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.5095, allocations: 0 / 0.639 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/0.5095, allocations: 8.109 kB / 0.639 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.5099, allocations: 111.7 kB / 0.6391 GB, free: 6.723 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5099, allocations: 7.953 kB / 0.6391 GB, free: 6.715 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.5104, allocations: 75.53 kB / 0.6391 GB, free: 6.641 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.5105, allocations: 16 kB / 0.6392 GB, free: 6.625 MB / 478.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.0002774/0.5108, allocations: 270.6 kB / 0.6394 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.5109, allocations: 63.16 kB / 0.6395 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006408/0.5115, allocations: 324.2 kB / 0.6398 GB, free: 5.965 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.5115, allocations: 4 kB / 0.6398 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5116, allocations: 3.953 kB / 0.6398 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.5116, allocations: 0 / 0.6398 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.5129, allocations: 0.8955 MB / 0.6407 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.5129, allocations: 4 kB / 0.6407 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.5132, allocations: 76.06 kB / 0.6407 GB, free: 4.914 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5133, allocations: 4 kB / 0.6407 GB, free: 4.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.5133, allocations: 7.984 kB / 0.6408 GB, free: 4.902 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.5143, allocations: 2.352 MB / 0.6431 GB, free: 2.457 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5143, allocations: 4.031 kB / 0.6431 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.5149, allocations: 414.2 kB / 0.6435 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.5151, allocations: 176.1 kB / 0.6436 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.583e-05/0.5153, allocations: 15.95 kB / 0.6436 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.5156, allocations: 47.86 kB / 0.6437 GB, free: 1.766 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.5157, allocations: 19.97 kB / 0.6437 GB, free: 1.746 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.5157, allocations: 8 kB / 0.6437 GB, free: 1.738 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005783/0.5163, allocations: 471 kB / 0.6442 GB, free: 1.281 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5163, allocations: 0 / 0.6442 GB, free: 1.281 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009529/0.5173, allocations: 351.1 kB / 0.6445 GB, free: 0.9375 MB / 478.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.001307/0.5186, allocations: 1.085 MB / 0.6456 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.5201, allocations: 491.7 kB / 0.646 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5201, allocations: 4 kB / 0.646 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.5205, allocations: 146 kB / 0.6462 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.5223, allocations: 373.6 kB / 0.6465 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005638/0.528, allocations: 3.557 MB / 0.65 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.5285, allocations: 0.937 MB / 0.6509 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005301/0.529, allocations: 116.5 kB / 0.651 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.5294, allocations: 255.3 kB / 0.6513 GB, free: 9.895 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5294, allocations: 3.938 kB / 0.6513 GB, free: 9.891 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03904/0.5684, allocations: 18.43 MB / 0.6693 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.5687, allocations: 271.4 kB / 0.6695 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/2.793, allocations: 0 / 0.6695 GB, free: 7.57 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: