Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.001411/0.001411, allocations: 99.55 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.001701/0.001701, 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.641/1.641, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.09/1.09, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003845, allocations: 9.406 kB / 0.5069 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1897, allocations: 82.31 MB / 0.5873 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01498/0.2048, allocations: 14.74 MB / 0.6017 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4301/0.6349, allocations: 4.223 MB / 0.6058 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.6361, allocations: 12 kB / 0.6058 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.6372, allocations: 237.1 kB / 0.606 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.6397, allocations: 0.5582 MB / 0.6066 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.6424, allocations: 0.7528 MB / 0.6073 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.6439, allocations: 0.5906 MB / 0.6079 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.6444, allocations: 271.7 kB / 0.6082 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006777/0.6451, allocations: 330.5 kB / 0.6085 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.6454, allocations: 224.2 kB / 0.6087 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.6455, allocations: 17.08 kB / 0.6087 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.6466, allocations: 452.4 kB / 0.6091 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.6468, allocations: 112.5 kB / 0.6092 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.6469, allocations: 112 kB / 0.6093 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.6476, allocations: 0.5409 MB / 0.6099 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6476, allocations: 0 / 0.6099 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.625e-06/0.6476, allocations: 0 / 0.6099 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.6477, allocations: 4.719 kB / 0.6099 GB, free: 34.48 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001217/0.6489, allocations: 0.7832 MB / 0.6106 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.6489, allocations: 9.125 kB / 0.6107 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.892e-05/0.649, allocations: 66.05 kB / 0.6107 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.6492, allocations: 60.16 kB / 0.6108 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/0.6498, allocations: 427.9 kB / 0.6112 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.6499, allocations: 19.03 kB / 0.6112 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.6499, allocations: 32.12 kB / 0.6112 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.6505, allocations: 288.2 kB / 0.6115 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6505, allocations: 0 / 0.6115 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.6506, allocations: 13.95 kB / 0.6115 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.6506, allocations: 5.438 kB / 0.6115 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.651, allocations: 197.7 kB / 0.6117 GB, free: 33.53 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.001823/0.6528, allocations: 1.483 MB / 0.6132 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.6532, allocations: 171.1 kB / 0.6133 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/0.6548, allocations: 1.289 MB / 0.6146 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.6549, allocations: 36.78 kB / 0.6146 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.665e-06/0.6549, allocations: 3.188 kB / 0.6146 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0007055/0.6556, allocations: 263.8 kB / 0.6149 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.6557, allocations: 51.41 kB / 0.6149 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007145/0.6564, allocations: 0.5834 MB / 0.6155 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.6564, allocations: 35.62 kB / 0.6155 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.6566, allocations: 262.6 kB / 0.6158 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.6566, allocations: 53.66 kB / 0.6158 GB, free: 31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.6567, allocations: 3.438 kB / 0.6158 GB, free: 31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.6568, allocations: 364.4 kB / 0.6162 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.657, allocations: 74.33 kB / 0.6163 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.6573, allocations: 212.7 kB / 0.6165 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.6576, allocations: 114.7 kB / 0.6166 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6576, allocations: 0 / 0.6166 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005728/0.6582, allocations: 315.8 kB / 0.6169 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002764/0.6585, allocations: 0.9614 MB / 0.6178 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.6585, allocations: 6.719 kB / 0.6178 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.6585, allocations: 2.906 kB / 0.6178 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.6588, allocations: 68.97 kB / 0.6179 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.6588, allocations: 5.812 kB / 0.6179 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.6592, allocations: 51.38 kB / 0.6179 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.6592, allocations: 15.03 kB / 0.6179 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.6592, allocations: 3.609 kB / 0.6179 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00045/0.6597, allocations: 250.9 kB / 0.6182 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.6597, allocations: 2.969 kB / 0.6182 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/0.6597, allocations: 6.719 kB / 0.6182 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.6599, allocations: 67.53 kB / 0.6183 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6599, allocations: 3 kB / 0.6183 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.6602, allocations: 48.62 kB / 0.6183 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.6603, allocations: 18.5 kB / 0.6183 GB, free: 29.44 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0002186/0.6605, allocations: 268.2 kB / 0.6186 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.6606, allocations: 46.59 kB / 0.6186 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000566/0.6611, allocations: 272.6 kB / 0.6189 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.6612, allocations: 2.875 kB / 0.6189 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6612, allocations: 0 / 0.6189 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.6612, allocations: 3.844 kB / 0.6189 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.6622, allocations: 0.7386 MB / 0.6196 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.6623, allocations: 0 / 0.6196 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.6624, allocations: 36.91 kB / 0.6197 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.6624, allocations: 2.938 kB / 0.6197 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.6624, allocations: 9.594 kB / 0.6197 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6624, allocations: 3.406 kB / 0.6197 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6624, allocations: 7.281 kB / 0.6197 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.6629, allocations: 409.4 kB / 0.6201 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.6631, allocations: 153.3 kB / 0.6202 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.6631, allocations: 5.062 kB / 0.6202 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.6634, allocations: 22.72 kB / 0.6202 GB, free: 28.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.6634, allocations: 14.77 kB / 0.6203 GB, free: 28.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.6635, allocations: 11.36 kB / 0.6203 GB, free: 28.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004339/0.6639, allocations: 413.6 kB / 0.6207 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.72e-07/0.6639, allocations: 0 / 0.6207 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008012/0.6647, allocations: 227.2 kB / 0.6209 GB, free: 28.3 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 (17): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001903/0.6666, allocations: 1.609 MB / 0.6224 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007153/0.6674, allocations: 335 kB / 0.6228 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6674, allocations: 0 / 0.6228 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.6676, allocations: 95.38 kB / 0.6229 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.6689, allocations: 251.4 kB / 0.6231 GB, free: 27.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.6714, allocations: 2.94 MB / 0.626 GB, free: 24.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.6718, allocations: 0.8499 MB / 0.6268 GB, free: 24.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004295/0.6723, allocations: 107.4 kB / 0.6269 GB, free: 24.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.6725, allocations: 167 kB / 0.6271 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.6725, allocations: 0 / 0.6271 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03933/0.7118, allocations: 14.02 MB / 0.6407 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.7121, allocations: 218.5 kB / 0.641 GB, free: 22.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.19, allocations: 3.938 kB / 0.641 GB, free: 22.79 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: