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.001593/0.001593, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001938/0.001938, allocations: 177.3 kB / 15.95 MB, free: 216 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.956/1.956, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.235/1.235, allocations: 132.3 MB / 423.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003999, allocations: 8 kB / 0.5033 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6903/0.6907, allocations: 81.58 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03568/0.7264, allocations: 25.82 MB / 0.6082 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01833/0.7449, allocations: 9.268 MB / 0.6172 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002123/0.7471, allocations: 23.31 kB / 0.6173 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.7492, allocations: 345.2 kB / 0.6176 GB, free: 9.898 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007085/0.7563, allocations: 1.14 MB / 0.6187 GB, free: 8.945 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00412/0.7605, allocations: 0.9099 MB / 0.6196 GB, free: 8.312 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004063/0.7646, allocations: 1.24 MB / 0.6208 GB, free: 7.516 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.7663, allocations: 0.5346 MB / 0.6213 GB, free: 7.176 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003193/0.7695, allocations: 0.7772 MB / 0.6221 GB, free: 6.676 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.7714, allocations: 464.1 kB / 0.6225 GB, free: 6.414 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003422/0.7717, allocations: 33.94 kB / 0.6226 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.7739, allocations: 385.6 kB / 0.6229 GB, free: 6.25 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.7743, allocations: 134.7 kB / 0.6231 GB, free: 6.145 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007486/0.775, allocations: 177.7 kB / 0.6232 GB, free: 6.047 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.7769, allocations: 0.7055 MB / 0.6239 GB, free: 5.574 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7769, allocations: 0 / 0.6239 GB, free: 5.574 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.7769, allocations: 0 / 0.6239 GB, free: 5.574 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.048e-05/0.777, allocations: 0 / 0.6239 GB, free: 5.574 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.003055/0.78, allocations: 1.021 MB / 0.6249 GB, free: 4.742 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/0.7801, allocations: 8.719 kB / 0.6249 GB, free: 4.742 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002774/0.7804, allocations: 82.66 kB / 0.625 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004204/0.7808, allocations: 94.06 kB / 0.6251 GB, free: 4.621 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.7826, allocations: 0.5336 MB / 0.6256 GB, free: 4.176 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.251e-05/0.7827, allocations: 43.31 kB / 0.6257 GB, free: 4.152 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.7828, allocations: 52.81 kB / 0.6257 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.7841, allocations: 414.1 kB / 0.6261 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.7841, allocations: 0 / 0.6261 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.7842, allocations: 22.83 kB / 0.6261 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.7842, allocations: 11.34 kB / 0.6261 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.7853, allocations: 308.2 kB / 0.6264 GB, free: 3.75 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.005297/0.7906, allocations: 1.857 MB / 0.6282 GB, free: 1.871 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.791, allocations: 178.4 kB / 0.6284 GB, free: 1.688 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003767/0.7914, allocations: 340.5 kB / 0.6287 GB, free: 1.281 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.7915, allocations: 34.56 kB / 0.6288 GB, free: 1.238 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 2.825e-06/0.7915, allocations: 0 / 0.6288 GB, free: 1.238 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.001016/0.7925, allocations: 322.8 kB / 0.6291 GB, free: 0.918 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.7926, allocations: 55.34 kB / 0.6291 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.7938, allocations: 0.6843 MB / 0.6298 GB, free: 156 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/0.7938, allocations: 29.7 kB / 0.6298 GB, free: 120 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.7942, allocations: 364.6 kB / 0.6302 GB, free: 15.76 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.475e-05/0.7943, allocations: 71.08 kB / 0.6302 GB, free: 15.69 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.7944, allocations: 8 kB / 0.6302 GB, free: 15.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.7946, allocations: 374.7 kB / 0.6306 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.7949, allocations: 104.7 kB / 0.6307 GB, free: 15.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.7952, allocations: 179.8 kB / 0.6309 GB, free: 15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.7955, allocations: 126.2 kB / 0.631 GB, free: 14.88 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7955, allocations: 0 / 0.631 GB, free: 14.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008521/0.7964, allocations: 382.7 kB / 0.6314 GB, free: 14.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.7966, allocations: 290.8 kB / 0.6316 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.7966, allocations: 0 / 0.6316 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.7966, allocations: 7.953 kB / 0.6316 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.7979, allocations: 159.9 kB / 0.6318 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.7998, allocations: 2.36 MB / 0.6341 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009088/0.8007, allocations: 87.69 kB / 0.6342 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.706e-05/0.8008, allocations: 19.98 kB / 0.6342 GB, free: 11.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.8008, allocations: 10.12 kB / 0.6342 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006849/0.8015, allocations: 296.2 kB / 0.6345 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.8015, allocations: 0 / 0.6345 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.126e-06/0.8015, allocations: 4.047 kB / 0.6345 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.802, allocations: 103.9 kB / 0.6346 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.802, allocations: 7.953 kB / 0.6346 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008005/0.8028, allocations: 83.53 kB / 0.6347 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/0.8029, allocations: 12 kB / 0.6347 GB, free: 10.97 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.0004206/0.8033, allocations: 265 kB / 0.635 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.8035, allocations: 67.16 kB / 0.635 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008356/0.8043, allocations: 328.1 kB / 0.6353 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.8044, allocations: 4 kB / 0.6353 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.8044, allocations: 3.953 kB / 0.6353 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.8044, allocations: 0 / 0.6353 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.8062, allocations: 0.8995 MB / 0.6362 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.8062, allocations: 8.109 kB / 0.6362 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.8066, allocations: 71.88 kB / 0.6363 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.8066, allocations: 4 kB / 0.6363 GB, free: 9.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.8067, allocations: 8 kB / 0.6363 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.8082, allocations: 2.356 MB / 0.6386 GB, free: 6.793 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.8082, allocations: 3.984 kB / 0.6386 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.809, allocations: 457.2 kB / 0.639 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006521/0.8096, allocations: 176.1 kB / 0.6392 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/0.8099, allocations: 8 kB / 0.6392 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006312/0.8106, allocations: 51.84 kB / 0.6393 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.8107, allocations: 19.94 kB / 0.6393 GB, free: 6.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.8107, allocations: 8 kB / 0.6393 GB, free: 6.012 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006926/0.8114, allocations: 475 kB / 0.6397 GB, free: 5.551 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.8114, allocations: 3.938 kB / 0.6398 GB, free: 5.547 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001447/0.8129, allocations: 351.1 kB / 0.6401 GB, free: 5.203 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.002083/0.815, allocations: 1.399 MB / 0.6415 GB, free: 3.766 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002956/0.8179, allocations: 499.4 kB / 0.6419 GB, free: 3.277 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.118e-06/0.818, allocations: 0 / 0.6419 GB, free: 3.277 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007617/0.8187, allocations: 150.3 kB / 0.6421 GB, free: 3.133 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/0.8225, allocations: 370.2 kB / 0.6424 GB, free: 2.781 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/0.8289, allocations: 2.025 MB / 0.6444 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008877/0.8299, allocations: 0.9453 MB / 0.6453 GB, free: 15.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007499/0.8306, allocations: 115.8 kB / 0.6454 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005211/0.8312, allocations: 259.3 kB / 0.6457 GB, free: 15.34 MB / 494.1 MB Notification: Performance of SimCode: time 2.205e-06/0.8312, allocations: 8 kB / 0.6457 GB, free: 15.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0724/0.9036, allocations: 18 MB / 0.6633 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004553/0.9041, allocations: 267 kB / 0.6635 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.572/4.477, allocations: 0 / 0.6635 GB, free: 13.44 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: