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.00101/0.001011, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006718/0.006718, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.853/0.853, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002747, allocations: 12 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 82.31 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01402/0.1475, allocations: 14.96 MB / 0.6027 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2316/0.3791, allocations: 4.281 MB / 0.6069 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004867/0.3796, allocations: 20.02 kB / 0.6069 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006666/0.3803, allocations: 220.8 kB / 0.6071 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009986/0.3813, allocations: 0.5544 MB / 0.6076 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.3825, allocations: 0.6381 MB / 0.6083 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008622/0.3834, allocations: 1.303 MB / 0.6095 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.3837, allocations: 288.3 kB / 0.6098 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004267/0.3841, allocations: 386.5 kB / 0.6102 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.3844, allocations: 317.3 kB / 0.6105 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.3845, allocations: 12.16 kB / 0.6105 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006665/0.3851, allocations: 0.5988 MB / 0.6111 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.137e-05/0.3852, allocations: 88.31 kB / 0.6112 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.3854, allocations: 235.8 kB / 0.6114 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006114/0.386, allocations: 0.7274 MB / 0.6121 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.386, allocations: 0.75 kB / 0.6121 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.386, allocations: 2.719 kB / 0.6121 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.386, allocations: 0 / 0.6121 GB, free: 33.99 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.0007712/0.3868, allocations: 0.7545 MB / 0.6128 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.3869, allocations: 9.719 kB / 0.6129 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.3869, allocations: 53.69 kB / 0.6129 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.387, allocations: 54.78 kB / 0.613 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.3874, allocations: 419.6 kB / 0.6134 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3874, allocations: 22.31 kB / 0.6134 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.47e-05/0.3874, allocations: 30.16 kB / 0.6134 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.3878, allocations: 213.1 kB / 0.6136 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3878, allocations: 2.812 kB / 0.6136 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.3878, allocations: 9.844 kB / 0.6136 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3878, allocations: 8.266 kB / 0.6136 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.3881, allocations: 183.3 kB / 0.6138 GB, free: 33.07 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.001111/0.3893, allocations: 0.9469 MB / 0.6147 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.3895, allocations: 129.8 kB / 0.6149 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.3897, allocations: 79.25 kB / 0.6149 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.3898, allocations: 341.8 kB / 0.6153 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.171e-05/0.3898, allocations: 32.25 kB / 0.6153 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.3898, allocations: 0 / 0.6153 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.000519/0.3904, allocations: 259.6 kB / 0.6155 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.655e-05/0.3904, allocations: 57.59 kB / 0.6156 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.3908, allocations: 476.1 kB / 0.616 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3908, allocations: 32.33 kB / 0.6161 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.97e-05/0.3909, allocations: 229.6 kB / 0.6163 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.3909, allocations: 50.91 kB / 0.6163 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.391, allocations: 28.25 kB / 0.6164 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.222e-05/0.391, allocations: 353.4 kB / 0.6167 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.3912, allocations: 69.5 kB / 0.6168 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.3914, allocations: 159.3 kB / 0.6169 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.3917, allocations: 181.9 kB / 0.6171 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3917, allocations: 0 / 0.6171 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004334/0.3921, allocations: 265.4 kB / 0.6173 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.3922, allocations: 109 kB / 0.6175 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3922, allocations: 0 / 0.6175 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.3922, allocations: 0 / 0.6175 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.3924, allocations: 55.14 kB / 0.6175 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3924, allocations: 2.656 kB / 0.6175 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.3927, allocations: 56.86 kB / 0.6176 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.3928, allocations: 9.109 kB / 0.6176 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.859e-06/0.3928, allocations: 2.875 kB / 0.6176 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003533/0.3931, allocations: 192.3 kB / 0.6178 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-06/0.3931, allocations: 0 / 0.6178 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-06/0.3931, allocations: 3.031 kB / 0.6178 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.3933, allocations: 54.44 kB / 0.6178 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.3933, allocations: 0 / 0.6178 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.3936, allocations: 42.83 kB / 0.6179 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.3936, allocations: 13.3 kB / 0.6179 GB, free: 31.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.3938, allocations: 238.2 kB / 0.6181 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.3938, allocations: 45 kB / 0.6181 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.3943, allocations: 254.4 kB / 0.6184 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3943, allocations: 7.969 kB / 0.6184 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3943, allocations: 3.281 kB / 0.6184 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3943, allocations: 0 / 0.6184 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.395, allocations: 0.7108 MB / 0.6191 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.395, allocations: 4.188 kB / 0.6191 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.3951, allocations: 34.47 kB / 0.6191 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3952, allocations: 3.281 kB / 0.6191 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3952, allocations: 7.188 kB / 0.6191 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3952, allocations: 7.453 kB / 0.6191 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3952, allocations: 11.06 kB / 0.6191 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.3955, allocations: 349.6 kB / 0.6195 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.93e-05/0.3956, allocations: 147.1 kB / 0.6196 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.3957, allocations: 6.156 kB / 0.6196 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.3959, allocations: 28.72 kB / 0.6197 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3959, allocations: 12.62 kB / 0.6197 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.396, allocations: 8.922 kB / 0.6197 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002433/0.3962, allocations: 333.5 kB / 0.62 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3962, allocations: 0 / 0.62 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004987/0.3967, allocations: 209.2 kB / 0.6202 GB, free: 30.01 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 (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.001293/0.398, allocations: 1.267 MB / 0.6214 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005355/0.3986, allocations: 282.8 kB / 0.6217 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3986, allocations: 0 / 0.6217 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.3987, allocations: 84.56 kB / 0.6218 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.3999, allocations: 220.9 kB / 0.622 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.4032, allocations: 3.543 MB / 0.6255 GB, free: 27.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.4034, allocations: 0.8275 MB / 0.6263 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002435/0.4036, allocations: 94.33 kB / 0.6263 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.4038, allocations: 143.6 kB / 0.6265 GB, free: 26.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.4038, allocations: 0 / 0.6265 GB, free: 26.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.221/1.625, allocations: 12.14 MB / 0.6383 GB, free: 25.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/1.625, allocations: 258 kB / 0.6386 GB, free: 25.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.944, allocations: 3.938 kB / 0.6386 GB, free: 25.47 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/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)