Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_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.0009133/0.0009136, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.0008688/0.0008689, allocations: 172.7 kB / 15.95 MB, free: 208 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.368/1.368, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7689/0.7689, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003946, allocations: 8 kB / 0.5035 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4091, allocations: 81.57 MB / 0.5832 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01759/0.4267, allocations: 16.02 MB / 0.5988 GB, free: 8.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007553/0.4343, allocations: 4.599 MB / 0.6033 GB, free: 5.375 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000886/0.4353, allocations: 11.16 kB / 0.6033 GB, free: 5.371 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008933/0.4362, allocations: 195.1 kB / 0.6035 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.4378, allocations: 0.5021 MB / 0.604 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.44, allocations: 0.597 MB / 0.6046 GB, free: 4.422 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.4416, allocations: 1.095 MB / 0.6056 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005591/0.4421, allocations: 254.6 kB / 0.6059 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000806/0.4429, allocations: 365.4 kB / 0.6062 GB, free: 3.414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.4434, allocations: 293.3 kB / 0.6065 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.4435, allocations: 15.75 kB / 0.6065 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.4448, allocations: 0.5932 MB / 0.6071 GB, free: 2.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.445, allocations: 110.8 kB / 0.6072 GB, free: 2.863 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.4451, allocations: 112.5 kB / 0.6073 GB, free: 2.789 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009136/0.446, allocations: 0.5895 MB / 0.6079 GB, free: 2.422 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.4461, allocations: 9.297 kB / 0.6079 GB, free: 2.414 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4461, allocations: 0 / 0.6079 GB, free: 2.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.4461, allocations: 0 / 0.6079 GB, free: 2.414 MB / 446.1 MB 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.001206/0.4473, allocations: 0.7904 MB / 0.6087 GB, free: 1.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4474, allocations: 8.625 kB / 0.6087 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.508e-05/0.4474, allocations: 71.12 kB / 0.6087 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.4476, allocations: 57.66 kB / 0.6088 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006287/0.4482, allocations: 421.3 kB / 0.6092 GB, free: 1.277 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.4483, allocations: 20.62 kB / 0.6092 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.4483, allocations: 28.78 kB / 0.6092 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.4488, allocations: 293.6 kB / 0.6095 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4489, allocations: 1.469 kB / 0.6095 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.4489, allocations: 10.84 kB / 0.6095 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.4489, allocations: 5.469 kB / 0.6095 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.4493, allocations: 198.8 kB / 0.6097 GB, free: 0.9648 MB / 446.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.001991/0.4513, allocations: 1.481 MB / 0.6112 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.4516, allocations: 165 kB / 0.6113 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.4518, allocations: 95.58 kB / 0.6114 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001547/0.4534, allocations: 1.289 MB / 0.6127 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.4534, allocations: 37.19 kB / 0.6127 GB, free: 14.13 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/0.4534, allocations: 0 / 0.6127 GB, free: 14.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.000608/0.454, allocations: 255.1 kB / 0.613 GB, free: 14 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.4541, allocations: 54.12 kB / 0.613 GB, free: 13.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006474/0.4547, allocations: 0.5839 MB / 0.6136 GB, free: 13.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.4548, allocations: 31.3 kB / 0.6136 GB, free: 13.56 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.455, allocations: 273.6 kB / 0.6139 GB, free: 13.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.455, allocations: 55.42 kB / 0.6139 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.4551, allocations: 5.125 kB / 0.6139 GB, free: 13.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4552, allocations: 362 kB / 0.6143 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.4554, allocations: 71.67 kB / 0.6143 GB, free: 12.89 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.4557, allocations: 219.2 kB / 0.6146 GB, free: 12.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.4559, allocations: 104.3 kB / 0.6147 GB, free: 12.65 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4559, allocations: 0 / 0.6147 GB, free: 12.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000544/0.4564, allocations: 311.5 kB / 0.615 GB, free: 12.49 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.4566, allocations: 168.3 kB / 0.6151 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.4566, allocations: 2.625 kB / 0.6151 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4566, allocations: 4.312 kB / 0.6151 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.4569, allocations: 66.11 kB / 0.6152 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.4569, allocations: 7.391 kB / 0.6152 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.4573, allocations: 53.22 kB / 0.6152 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.4573, allocations: 15.44 kB / 0.6153 GB, free: 12.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.4573, allocations: 3.375 kB / 0.6153 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004902/0.4578, allocations: 244.1 kB / 0.6155 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4578, allocations: 2.391 kB / 0.6155 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.4579, allocations: 8.297 kB / 0.6155 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.4581, allocations: 66.64 kB / 0.6156 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4581, allocations: 7.156 kB / 0.6156 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.4584, allocations: 56.39 kB / 0.6156 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.4584, allocations: 22.34 kB / 0.6156 GB, free: 12.07 MB / 462.1 MB 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.0002646/0.4587, allocations: 254.9 kB / 0.6159 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/0.4588, allocations: 53.61 kB / 0.6159 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005858/0.4594, allocations: 267 kB / 0.6162 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.4594, allocations: 2.031 kB / 0.6162 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4594, allocations: 96 / 0.6162 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4594, allocations: 4.938 kB / 0.6162 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.4606, allocations: 0.7417 MB / 0.6169 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4606, allocations: 5 kB / 0.6169 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.4607, allocations: 37.81 kB / 0.617 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4607, allocations: 2.156 kB / 0.617 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.4608, allocations: 11.14 kB / 0.617 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.4608, allocations: 2.219 kB / 0.617 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4608, allocations: 1.188 kB / 0.617 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.4613, allocations: 366.7 kB / 0.6173 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.4615, allocations: 157.8 kB / 0.6175 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.4615, allocations: 6.594 kB / 0.6175 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.4618, allocations: 18.7 kB / 0.6175 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.4618, allocations: 11.14 kB / 0.6175 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.4619, allocations: 9.5 kB / 0.6175 GB, free: 10.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005009/0.4624, allocations: 419.3 kB / 0.6179 GB, free: 10.35 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4624, allocations: 4 kB / 0.6179 GB, free: 10.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008737/0.4633, allocations: 234.5 kB / 0.6182 GB, free: 10.29 MB / 462.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 (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.001981/0.4652, allocations: 1.273 MB / 0.6194 GB, free: 9.375 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008125/0.4661, allocations: 334.7 kB / 0.6197 GB, free: 9.242 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4661, allocations: 0 / 0.6197 GB, free: 9.242 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.4663, allocations: 99.2 kB / 0.6198 GB, free: 9.199 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.4676, allocations: 246.4 kB / 0.62 GB, free: 9.082 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.4719, allocations: 2.71 MB / 0.6227 GB, free: 7.352 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.4723, allocations: 0.8502 MB / 0.6235 GB, free: 6.477 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004349/0.4727, allocations: 104.2 kB / 0.6236 GB, free: 6.371 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.473, allocations: 163.4 kB / 0.6238 GB, free: 6.211 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.473, allocations: 0 / 0.6238 GB, free: 6.211 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.5018, allocations: 14.25 MB / 0.6377 GB, free: 8.27 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.502, allocations: 227.2 kB / 0.6379 GB, free: 8.027 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.591, allocations: 4 kB / 0.6379 GB, free: 8.023 MB / 478.1 MB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: