Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.0009161/0.0009158, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001182/0.001182, allocations: 168.7 kB / 15.95 MB, free: 204 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.531/1.531, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9608/0.9608, allocations: 135.3 MB / 426.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.000388, allocations: 8 kB / 0.5071 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1988, allocations: 82.31 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4993/0.6982, allocations: 142.6 MB / 0.7268 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04687/0.7451, allocations: 28.6 MB / 0.7547 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008339/0.7535, allocations: 122.9 kB / 0.7548 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004099/0.7577, allocations: 0.6919 MB / 0.7555 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.7684, allocations: 2.511 MB / 0.758 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006843/0.7753, allocations: 2.009 MB / 0.7599 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01011/0.7854, allocations: 6.243 MB / 0.766 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003976/0.7894, allocations: 1.662 MB / 0.7676 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007294/0.7968, allocations: 2.216 MB / 0.7698 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004497/0.8013, allocations: 1.797 MB / 0.7716 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007135/0.8021, allocations: 96.05 kB / 0.7716 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003731/0.8058, allocations: 0.85 MB / 0.7725 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006348/0.8065, allocations: 410.1 kB / 0.7729 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.8079, allocations: 472.5 kB / 0.7733 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003494/0.8114, allocations: 2.412 MB / 0.7757 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.8114, allocations: 0 / 0.7757 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.166e-06/0.8114, allocations: 4 kB / 0.7757 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.264e-05/0.8115, allocations: 0 / 0.7757 GB, free: 11.77 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005279/0.8168, allocations: 2.367 MB / 0.778 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.8168, allocations: 8.031 kB / 0.778 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003239/0.8172, allocations: 181.4 kB / 0.7782 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005352/0.8177, allocations: 260.8 kB / 0.7784 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.8204, allocations: 1.369 MB / 0.7798 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-05/0.8205, allocations: 103.6 kB / 0.7799 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.8207, allocations: 140 kB / 0.78 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.8228, allocations: 1.159 MB / 0.7811 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.8229, allocations: 0 / 0.7811 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.823, allocations: 48 kB / 0.7812 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/0.823, allocations: 28 kB / 0.7812 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.8248, allocations: 1.016 MB / 0.7822 GB, free: 4.93 MB / 0.5919 GB 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.01083/0.8357, allocations: 6.352 MB / 0.7884 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009502/0.8367, allocations: 0.5719 MB / 0.7889 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.8373, allocations: 386.4 kB / 0.7893 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004522/0.8378, allocations: 0.5109 MB / 0.7898 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.8378, allocations: 39.12 kB / 0.7898 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001819/0.8397, allocations: 330.7 kB / 0.7902 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 8.166e-06/0.8397, allocations: 0 / 0.7902 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.002507/0.8422, allocations: 1.133 MB / 0.7913 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.8423, allocations: 64.09 kB / 0.7913 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002941/0.8452, allocations: 1.877 MB / 0.7932 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001622/0.8454, allocations: 41.7 kB / 0.7932 GB, free: 9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008213/0.8462, allocations: 0.9263 MB / 0.7941 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.8464, allocations: 197.1 kB / 0.7943 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.8465, allocations: 28 kB / 0.7943 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.8467, allocations: 349.9 kB / 0.7947 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/0.8474, allocations: 414.4 kB / 0.7951 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009819/0.8484, allocations: 0.6645 MB / 0.7957 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008883/0.8493, allocations: 498.3 kB / 0.7962 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.8493, allocations: 4 kB / 0.7962 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00255/0.8519, allocations: 1.357 MB / 0.7975 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.8521, allocations: 194.7 kB / 0.7977 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.8521, allocations: 4 kB / 0.7977 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.8521, allocations: 11.95 kB / 0.7977 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.8533, allocations: 292.2 kB / 0.798 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/0.8534, allocations: 12 kB / 0.798 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.8553, allocations: 151.6 kB / 0.7981 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.8554, allocations: 59.94 kB / 0.7982 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.8554, allocations: 7.938 kB / 0.7982 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002014/0.8574, allocations: 1.147 MB / 0.7993 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.8575, allocations: 8.312 kB / 0.7993 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.8575, allocations: 15.94 kB / 0.7993 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.8586, allocations: 283.5 kB / 0.7996 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.8586, allocations: 8 kB / 0.7996 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.8604, allocations: 151.6 kB / 0.7998 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.8605, allocations: 59.95 kB / 0.7998 GB, free: 2.059 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009022/0.8614, allocations: 448.8 kB / 0.8003 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/0.8618, allocations: 201.4 kB / 0.8004 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.8639, allocations: 1.083 MB / 0.8015 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.8639, allocations: 8 kB / 0.8015 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.864, allocations: 0 / 0.8015 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.864, allocations: 3.984 kB / 0.8015 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/0.8679, allocations: 2.41 MB / 0.8039 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.8679, allocations: 4 kB / 0.8039 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005499/0.8685, allocations: 136 kB / 0.804 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.8685, allocations: 8 kB / 0.804 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/0.8685, allocations: 19.95 kB / 0.804 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.8686, allocations: 11.92 kB / 0.804 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.8686, allocations: 4 kB / 0.804 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.8701, allocations: 1.047 MB / 0.8051 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007423/0.8709, allocations: 382.1 kB / 0.8054 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.8711, allocations: 16 kB / 0.8054 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008435/0.8719, allocations: 103.7 kB / 0.8055 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.872, allocations: 60.56 kB / 0.8056 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.8721, allocations: 24 kB / 0.8056 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001881/0.874, allocations: 1.229 MB / 0.8068 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.874, allocations: 0 / 0.8068 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00248/0.8765, allocations: 0.9005 MB / 0.8077 GB, free: 9.824 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00249/0.879, allocations: 1.843 MB / 0.8095 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002924/0.8819, allocations: 1.583 MB / 0.8111 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.882, allocations: 4 kB / 0.8111 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006312/0.8826, allocations: 400.6 kB / 0.8114 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005406/0.888, allocations: 1.138 MB / 0.8126 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/0.9083, allocations: 11.23 MB / 0.8235 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.9093, allocations: 1.405 MB / 0.8249 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002478/0.9118, allocations: 392.3 kB / 0.8253 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.913, allocations: 0.8273 MB / 0.8261 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of SimCode: time 1.122e-06/0.913, allocations: 0 / 0.8261 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4084/1.321, allocations: 53.7 MB / 0.8785 GB, free: 211.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/1.322, allocations: 246 kB / 0.8788 GB, free: 211.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.705/5.027, allocations: 4.297 kB / 0.8788 GB, free: 211.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: