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.001064/0.001064, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9164/0.9164, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.53 kB / 0.5054 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1496, allocations: 80.94 MB / 0.5845 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01896/0.1686, allocations: 17.45 MB / 0.6015 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2617/0.4303, allocations: 4.905 MB / 0.6063 GB, free: 36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008962/0.4313, allocations: 14.84 kB / 0.6063 GB, free: 36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.4324, allocations: 251.2 kB / 0.6066 GB, free: 36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.4343, allocations: 0.6133 MB / 0.6072 GB, free: 36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.4364, allocations: 0.7161 MB / 0.6079 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.4377, allocations: 0.9697 MB / 0.6088 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006105/0.4383, allocations: 335.6 kB / 0.6091 GB, free: 35.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.4393, allocations: 413.3 kB / 0.6095 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007304/0.4401, allocations: 318.7 kB / 0.6098 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.4402, allocations: 28.25 kB / 0.6099 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.4418, allocations: 0.7285 MB / 0.6106 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.442, allocations: 134 kB / 0.6107 GB, free: 35.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.4423, allocations: 248.5 kB / 0.6109 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.4435, allocations: 0.87 MB / 0.6118 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4435, allocations: 1.125 kB / 0.6118 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4435, allocations: 0 / 0.6118 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.4435, allocations: 0 / 0.6118 GB, free: 35.65 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.001071/0.4446, allocations: 0.881 MB / 0.6126 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4446, allocations: 9.656 kB / 0.6127 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.4447, allocations: 58.91 kB / 0.6127 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.4448, allocations: 63.97 kB / 0.6128 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.4453, allocations: 449.3 kB / 0.6132 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.4453, allocations: 19.5 kB / 0.6132 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.4454, allocations: 27.69 kB / 0.6132 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.4458, allocations: 290.3 kB / 0.6135 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4459, allocations: 0 / 0.6135 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.4459, allocations: 13.69 kB / 0.6135 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.4459, allocations: 8.594 kB / 0.6135 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.4463, allocations: 190 kB / 0.6137 GB, free: 34.63 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.001519/0.4478, allocations: 1.487 MB / 0.6152 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.4481, allocations: 154.9 kB / 0.6153 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.4483, allocations: 90.86 kB / 0.6154 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.4496, allocations: 1.272 MB / 0.6167 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.4496, allocations: 48.28 kB / 0.6167 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.4497, allocations: 0 / 0.6167 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005726/0.4502, allocations: 240.2 kB / 0.6169 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.4503, allocations: 58.22 kB / 0.617 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/0.4508, allocations: 0.5796 MB / 0.6176 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.4508, allocations: 32.52 kB / 0.6176 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.451, allocations: 265.5 kB / 0.6178 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.451, allocations: 64.2 kB / 0.6179 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.662e-05/0.4511, allocations: 71.41 kB / 0.618 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.062e-05/0.4512, allocations: 358.4 kB / 0.6183 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.4514, allocations: 83.41 kB / 0.6184 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.4516, allocations: 203.8 kB / 0.6186 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.452, allocations: 233.2 kB / 0.6188 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.452, allocations: 7.938 kB / 0.6188 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005049/0.4525, allocations: 312.3 kB / 0.6191 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.4525, allocations: 6.469 kB / 0.6191 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4525, allocations: 3.188 kB / 0.6191 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4526, allocations: 3.281 kB / 0.6191 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.4528, allocations: 66.73 kB / 0.6192 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4528, allocations: 9.953 kB / 0.6192 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.4531, allocations: 40.53 kB / 0.6192 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.4532, allocations: 19.44 kB / 0.6193 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002518/0.4534, allocations: 212.6 kB / 0.6195 GB, free: 31.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002184/0.4536, allocations: 210.8 kB / 0.6197 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003239/0.454, allocations: 229.9 kB / 0.6199 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/0.454, allocations: 8.422 kB / 0.6199 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004895/0.4545, allocations: 304.4 kB / 0.6202 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.4545, allocations: 9.625 kB / 0.6202 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4545, allocations: 6.25 kB / 0.6202 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-06/0.4545, allocations: 6.031 kB / 0.6202 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.4547, allocations: 62.22 kB / 0.6203 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.4547, allocations: 4.344 kB / 0.6203 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.455, allocations: 37.09 kB / 0.6203 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.4551, allocations: 22.69 kB / 0.6203 GB, free: 31.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.337e-05/0.4551, allocations: 193.2 kB / 0.6205 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.4552, allocations: 56.19 kB / 0.6206 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.4557, allocations: 258.9 kB / 0.6208 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.4557, allocations: 2.781 kB / 0.6208 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4557, allocations: 0 / 0.6208 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4558, allocations: 3.375 kB / 0.6208 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008275/0.4566, allocations: 0.7332 MB / 0.6215 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4566, allocations: 0 / 0.6215 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4567, allocations: 31.97 kB / 0.6216 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4567, allocations: 6.516 kB / 0.6216 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.4568, allocations: 4.719 kB / 0.6216 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.4568, allocations: 8.594 kB / 0.6216 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4568, allocations: 0 / 0.6216 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.4572, allocations: 359.1 kB / 0.6219 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4573, allocations: 148.7 kB / 0.6221 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.4574, allocations: 9.438 kB / 0.6221 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.4576, allocations: 10.95 kB / 0.6221 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.4576, allocations: 20.23 kB / 0.6221 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.4576, allocations: 8.547 kB / 0.6221 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003728/0.458, allocations: 417.3 kB / 0.6225 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.458, allocations: 0 / 0.6225 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006749/0.4587, allocations: 231.5 kB / 0.6227 GB, free: 30 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/0.4602, allocations: 1.269 MB / 0.624 GB, free: 29.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006255/0.4609, allocations: 334.8 kB / 0.6243 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4609, allocations: 0 / 0.6243 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.4611, allocations: 90.58 kB / 0.6244 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.4622, allocations: 260.2 kB / 0.6246 GB, free: 28.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.4661, allocations: 4.01 MB / 0.6285 GB, free: 26.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.4664, allocations: 0.8406 MB / 0.6294 GB, free: 25.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003195/0.4667, allocations: 106.5 kB / 0.6295 GB, free: 25.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.4669, allocations: 166 kB / 0.6296 GB, free: 25.77 MB / 0.4981 GB Notification: Performance of SimCode: time 4.7e-07/0.4669, allocations: 0 / 0.6296 GB, free: 25.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.5014, allocations: 14.87 MB / 0.6441 GB, free: 24.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.112/9.613, allocations: 13.48 kB / 0.6441 GB, free: 24.3 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/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)