Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.001119/0.001119, allocations: 100 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.001077/0.001077, allocations: 177.3 kB / 15.94 MB, free: 228 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.688/1.688, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.172/1.172, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004872, allocations: 8 kB / 0.5069 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2141, allocations: 82.31 MB / 0.5873 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01501/0.2292, allocations: 13.11 MB / 0.6001 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006419/0.2357, allocations: 3.749 MB / 0.6037 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006814/0.2364, allocations: 11.88 kB / 0.6038 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.2375, allocations: 246.8 kB / 0.604 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.2395, allocations: 0.6192 MB / 0.6046 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.242, allocations: 0.7741 MB / 0.6054 GB, free: 472 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.4964/0.7384, allocations: 0.6283 MB / 0.606 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000869/0.7393, allocations: 267.3 kB / 0.6062 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008585/0.7402, allocations: 342.3 kB / 0.6065 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.7406, allocations: 233.5 kB / 0.6068 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.7406, allocations: 14.94 kB / 0.6068 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.7418, allocations: 393.8 kB / 0.6072 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.742, allocations: 82.56 kB / 0.6072 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.7422, allocations: 103.7 kB / 0.6073 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009013/0.7431, allocations: 490 kB / 0.6078 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.7431, allocations: 0 / 0.6078 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.438e-06/0.7431, allocations: 0 / 0.6078 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.7431, allocations: 2.969 kB / 0.6078 GB, free: 34.72 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001596/0.7447, allocations: 0.735 MB / 0.6085 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.176e-05/0.7448, allocations: 11.84 kB / 0.6085 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.7449, allocations: 56.5 kB / 0.6086 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.7451, allocations: 50.12 kB / 0.6086 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008122/0.7459, allocations: 399.7 kB / 0.609 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.7459, allocations: 20.09 kB / 0.609 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/0.746, allocations: 27.5 kB / 0.6091 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.7465, allocations: 215.3 kB / 0.6093 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.7465, allocations: 9.312 kB / 0.6093 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.7466, allocations: 12.91 kB / 0.6093 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.7466, allocations: 4.938 kB / 0.6093 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.7471, allocations: 172.9 kB / 0.6095 GB, free: 33.85 MB / 0.4981 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.002049/0.7491, allocations: 0.9419 MB / 0.6104 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.7495, allocations: 147.2 kB / 0.6105 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.7498, allocations: 337.6 kB / 0.6108 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.7498, allocations: 33.94 kB / 0.6109 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 3.867e-06/0.7498, allocations: 0 / 0.6109 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007399/0.7506, allocations: 265.2 kB / 0.6111 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.7507, allocations: 54.25 kB / 0.6112 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.7513, allocations: 469.9 kB / 0.6116 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.7513, allocations: 35.8 kB / 0.6117 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.7516, allocations: 227.3 kB / 0.6119 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.7517, allocations: 46.83 kB / 0.6119 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.7517, allocations: 5.781 kB / 0.6119 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.7518, allocations: 350.3 kB / 0.6123 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.752, allocations: 67.83 kB / 0.6123 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.7524, allocations: 151.5 kB / 0.6125 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.7526, allocations: 89.09 kB / 0.6126 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.7527, allocations: 0 / 0.6126 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005778/0.7532, allocations: 261.3 kB / 0.6128 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.7534, allocations: 276 kB / 0.6131 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.7534, allocations: 0 / 0.6131 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.7534, allocations: 0 / 0.6131 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.7537, allocations: 52.36 kB / 0.6131 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.7537, allocations: 0 / 0.6131 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.7541, allocations: 54.48 kB / 0.6132 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.7542, allocations: 7.781 kB / 0.6132 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.7542, allocations: 3.375 kB / 0.6132 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004335/0.7546, allocations: 196.7 kB / 0.6134 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7547, allocations: 2.875 kB / 0.6134 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-06/0.7547, allocations: 1.5 kB / 0.6134 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.7549, allocations: 49.17 kB / 0.6134 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.7549, allocations: 6.609 kB / 0.6134 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.7552, allocations: 47.41 kB / 0.6135 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.7552, allocations: 11.47 kB / 0.6135 GB, free: 31.78 MB / 0.4981 GB 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 (24): * Single equations (assignments): 24 * 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.000283/0.7555, allocations: 237.2 kB / 0.6137 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.7556, allocations: 48.77 kB / 0.6138 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005294/0.7561, allocations: 257.4 kB / 0.614 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.7561, allocations: 3.25 kB / 0.614 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7561, allocations: 0 / 0.614 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-06/0.7562, allocations: 4.922 kB / 0.614 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009263/0.7571, allocations: 0.7138 MB / 0.6147 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.7571, allocations: 4.125 kB / 0.6147 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.7572, allocations: 36.19 kB / 0.6147 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.7572, allocations: 2.812 kB / 0.6148 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.7573, allocations: 5.625 kB / 0.6148 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.7573, allocations: 5.203 kB / 0.6148 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7573, allocations: 2.844 kB / 0.6148 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/0.7577, allocations: 400.6 kB / 0.6151 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.7579, allocations: 153.2 kB / 0.6153 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.7579, allocations: 3.5 kB / 0.6153 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.7582, allocations: 26.62 kB / 0.6153 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.7582, allocations: 17 kB / 0.6153 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.7583, allocations: 6.969 kB / 0.6153 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003554/0.7586, allocations: 332.6 kB / 0.6157 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7586, allocations: 0 / 0.6157 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007615/0.7594, allocations: 194.8 kB / 0.6158 GB, free: 30.67 MB / 0.4981 GB 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002396/0.7618, allocations: 1.587 MB / 0.6174 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008583/0.7627, allocations: 285.2 kB / 0.6177 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.7627, allocations: 0 / 0.6177 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.7629, allocations: 93.08 kB / 0.6178 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.7643, allocations: 207.3 kB / 0.618 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.7664, allocations: 1.474 MB / 0.6194 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.7667, allocations: 0.8369 MB / 0.6202 GB, free: 27.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003227/0.7671, allocations: 90.89 kB / 0.6203 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.7673, allocations: 151.4 kB / 0.6204 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.483e-06/0.7673, allocations: 0 / 0.6204 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.802, allocations: 12 MB / 0.6322 GB, free: 26.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/0.8023, allocations: 228.9 kB / 0.6324 GB, free: 26.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.163, allocations: 0 / 0.6324 GB, free: 26.62 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: