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.0009737/0.0009737, allocations: 91.77 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.00115/0.00115, 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.609/1.609, allocations: 223.2 MB / 240 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.067/1.067, allocations: 135.3 MB / 426.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 8 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1797, allocations: 82.32 MB / 0.5875 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01984/0.1996, allocations: 16 MB / 0.6031 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4329/0.6325, allocations: 4.593 MB / 0.6076 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007153/0.6333, allocations: 14.16 kB / 0.6076 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008848/0.6342, allocations: 190.4 kB / 0.6078 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.6357, allocations: 0.4984 MB / 0.6083 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.6377, allocations: 0.5981 MB / 0.6088 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.6392, allocations: 1.092 MB / 0.6099 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005211/0.6397, allocations: 264.9 kB / 0.6102 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006788/0.6404, allocations: 360.9 kB / 0.6105 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/0.6409, allocations: 293.8 kB / 0.6108 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.045e-05/0.6409, allocations: 16.09 kB / 0.6108 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.6422, allocations: 0.5913 MB / 0.6114 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.6424, allocations: 113.5 kB / 0.6115 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.6425, allocations: 117.2 kB / 0.6116 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007087/0.6432, allocations: 0.5854 MB / 0.6122 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6432, allocations: 0 / 0.6122 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6432, allocations: 0 / 0.6122 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.6432, allocations: 0 / 0.6122 GB, free: 34.44 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.00118/0.6444, allocations: 0.8073 MB / 0.613 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.6445, allocations: 9.375 kB / 0.613 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.647e-05/0.6446, allocations: 57.31 kB / 0.613 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.6447, allocations: 59.3 kB / 0.6131 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.6453, allocations: 426.4 kB / 0.6135 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.6454, allocations: 20.44 kB / 0.6135 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.6455, allocations: 32.41 kB / 0.6135 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/0.646, allocations: 289.2 kB / 0.6138 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.6461, allocations: 0 / 0.6138 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.6461, allocations: 17.59 kB / 0.6138 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.6461, allocations: 13.38 kB / 0.6138 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.6465, allocations: 192.6 kB / 0.614 GB, free: 33.45 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.001696/0.6483, allocations: 1.478 MB / 0.6155 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.6486, allocations: 171.4 kB / 0.6156 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.6487, allocations: 84.47 kB / 0.6157 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.6501, allocations: 1.295 MB / 0.617 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.6501, allocations: 34.5 kB / 0.617 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/0.6501, allocations: 0 / 0.617 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006018/0.6508, allocations: 269 kB / 0.6173 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.6508, allocations: 51.41 kB / 0.6173 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006326/0.6514, allocations: 0.5827 MB / 0.6179 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.6515, allocations: 29.64 kB / 0.6179 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.6517, allocations: 268.6 kB / 0.6182 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.6517, allocations: 50.09 kB / 0.6182 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.6517, allocations: 3.812 kB / 0.6182 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6519, allocations: 368.2 kB / 0.6186 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.6521, allocations: 73.67 kB / 0.6186 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.6524, allocations: 211.5 kB / 0.6188 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.6526, allocations: 108.4 kB / 0.619 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6526, allocations: 0 / 0.619 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005196/0.6531, allocations: 323.2 kB / 0.6193 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/0.6532, allocations: 158.5 kB / 0.6194 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6532, allocations: 4 kB / 0.6194 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.6533, allocations: 6.406 kB / 0.6194 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.6536, allocations: 69.97 kB / 0.6195 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.6536, allocations: 6.531 kB / 0.6195 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.6539, allocations: 46.12 kB / 0.6195 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.6539, allocations: 20.06 kB / 0.6196 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.654, allocations: 6.219 kB / 0.6196 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004819/0.6544, allocations: 237.4 kB / 0.6198 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6545, allocations: 7.312 kB / 0.6198 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.643e-06/0.6545, allocations: 6.5 kB / 0.6198 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.6547, allocations: 69.2 kB / 0.6199 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.6547, allocations: 3.219 kB / 0.6199 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.655, allocations: 46.62 kB / 0.6199 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.655, allocations: 17.69 kB / 0.6199 GB, free: 30.11 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.0002037/0.6552, allocations: 261.7 kB / 0.6202 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.6553, allocations: 47.97 kB / 0.6202 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006081/0.6559, allocations: 274.5 kB / 0.6205 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.6559, allocations: 0 / 0.6205 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.6559, allocations: 6.719 kB / 0.6205 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6559, allocations: 0 / 0.6205 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.657, allocations: 0.7435 MB / 0.6212 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.657, allocations: 3.031 kB / 0.6212 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.6571, allocations: 37.06 kB / 0.6213 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.6571, allocations: 7.031 kB / 0.6213 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.6571, allocations: 7.156 kB / 0.6213 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.6572, allocations: 3.125 kB / 0.6213 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6572, allocations: 0 / 0.6213 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/0.6576, allocations: 369 kB / 0.6216 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.6578, allocations: 154.5 kB / 0.6218 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.395e-05/0.6579, allocations: 8.922 kB / 0.6218 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.6581, allocations: 23.75 kB / 0.6218 GB, free: 29.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.6582, allocations: 8.953 kB / 0.6218 GB, free: 29.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.6582, allocations: 11.14 kB / 0.6218 GB, free: 29.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004467/0.6586, allocations: 414.3 kB / 0.6222 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6586, allocations: 0 / 0.6222 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008282/0.6595, allocations: 233.7 kB / 0.6224 GB, free: 29.02 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.001809/0.6613, allocations: 1.281 MB / 0.6237 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007365/0.662, allocations: 336.8 kB / 0.624 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6621, allocations: 0 / 0.624 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.6623, allocations: 90.67 kB / 0.6241 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.6635, allocations: 254.9 kB / 0.6243 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/0.6679, allocations: 2.708 MB / 0.627 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.6682, allocations: 0.8495 MB / 0.6278 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004777/0.6687, allocations: 104.4 kB / 0.6279 GB, free: 26.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.6689, allocations: 159.4 kB / 0.6281 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.6689, allocations: 3.938 kB / 0.6281 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04125/0.7102, allocations: 14.28 MB / 0.642 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/0.7105, allocations: 232.4 kB / 0.6422 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/2.942, allocations: 0 / 0.6422 GB, free: 25.12 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: