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.001074/0.001074, 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.001073/0.001073, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9473/0.9473, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 65.41 kB / 0.5055 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1911, allocations: 80.92 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02061/0.2118, allocations: 15.54 MB / 0.5997 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006358/0.2181, allocations: 4.338 MB / 0.6039 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006619/0.2188, allocations: 15.88 kB / 0.6039 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009989/0.2199, allocations: 258.4 kB / 0.6042 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.2556/0.4755, allocations: 0.5992 MB / 0.6047 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.4772, allocations: 0.7029 MB / 0.6054 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009356/0.4781, allocations: 1.024 MB / 0.6064 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.4785, allocations: 339.5 kB / 0.6068 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/0.4791, allocations: 418.8 kB / 0.6071 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.4794, allocations: 322.4 kB / 0.6075 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.4795, allocations: 33.34 kB / 0.6075 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008998/0.4804, allocations: 0.6261 MB / 0.6081 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/0.4805, allocations: 104.8 kB / 0.6082 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.4807, allocations: 214.7 kB / 0.6084 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007786/0.4815, allocations: 0.7645 MB / 0.6092 GB, free: 36.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4815, allocations: 7.406 kB / 0.6092 GB, free: 36.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4815, allocations: 0 / 0.6092 GB, free: 36.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.4815, allocations: 0 / 0.6092 GB, free: 36.02 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.0009957/0.4825, allocations: 0.8297 MB / 0.61 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4825, allocations: 14.03 kB / 0.61 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.4826, allocations: 54.16 kB / 0.61 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.654e-05/0.4827, allocations: 53.56 kB / 0.6101 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.4831, allocations: 414.4 kB / 0.6105 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.4831, allocations: 16.88 kB / 0.6105 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.4832, allocations: 29.34 kB / 0.6105 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.4836, allocations: 216.7 kB / 0.6107 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4836, allocations: 0 / 0.6107 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.4836, allocations: 11.09 kB / 0.6107 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.4836, allocations: 3.25 kB / 0.6107 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.484, allocations: 164 kB / 0.6109 GB, free: 35.09 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.001325/0.4853, allocations: 0.9582 MB / 0.6118 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.4856, allocations: 133.4 kB / 0.612 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.4857, allocations: 71.42 kB / 0.612 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/0.4859, allocations: 337.8 kB / 0.6124 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.486, allocations: 30.56 kB / 0.6124 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.486, allocations: 0 / 0.6124 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005766/0.4866, allocations: 244.4 kB / 0.6126 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.4866, allocations: 57.62 kB / 0.6127 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.487, allocations: 470.8 kB / 0.6131 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.487, allocations: 32.7 kB / 0.6132 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.4872, allocations: 233.2 kB / 0.6134 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.4872, allocations: 52.83 kB / 0.6134 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.4873, allocations: 61.2 kB / 0.6135 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.4874, allocations: 354.2 kB / 0.6138 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.4875, allocations: 75.66 kB / 0.6139 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.4877, allocations: 147.5 kB / 0.614 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.488, allocations: 168.6 kB / 0.6142 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4881, allocations: 0 / 0.6142 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004376/0.4885, allocations: 253.9 kB / 0.6144 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.4885, allocations: 5.594 kB / 0.6144 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.4885, allocations: 0 / 0.6144 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4886, allocations: 2.781 kB / 0.6144 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.4888, allocations: 51.92 kB / 0.6145 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4888, allocations: 2.625 kB / 0.6145 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.4891, allocations: 41.97 kB / 0.6145 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.4891, allocations: 11.47 kB / 0.6145 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000234/0.4894, allocations: 192.6 kB / 0.6147 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001946/0.4896, allocations: 160.3 kB / 0.6149 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002876/0.4899, allocations: 171.1 kB / 0.615 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-06/0.4899, allocations: 7.938 kB / 0.6151 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004316/0.4903, allocations: 247.6 kB / 0.6153 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-06/0.4903, allocations: 2.844 kB / 0.6153 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-06/0.4903, allocations: 2.688 kB / 0.6153 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-06/0.4903, allocations: 2.625 kB / 0.6153 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.4905, allocations: 44 kB / 0.6153 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.4905, allocations: 2.938 kB / 0.6153 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.4909, allocations: 36.69 kB / 0.6154 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.4909, allocations: 10.81 kB / 0.6154 GB, free: 32.97 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 6.893e-05/0.491, allocations: 194.9 kB / 0.6156 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.491, allocations: 46.2 kB / 0.6156 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.4915, allocations: 251.6 kB / 0.6159 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4915, allocations: 7.25 kB / 0.6159 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4915, allocations: 3.234 kB / 0.6159 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4915, allocations: 0 / 0.6159 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007621/0.4923, allocations: 0.7074 MB / 0.6166 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4923, allocations: 3.25 kB / 0.6166 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.4924, allocations: 36.05 kB / 0.6166 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.4925, allocations: 0 / 0.6166 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4925, allocations: 6.312 kB / 0.6166 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4925, allocations: 7.406 kB / 0.6166 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4925, allocations: 1.25 kB / 0.6166 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.4929, allocations: 345.2 kB / 0.6169 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.359e-05/0.493, allocations: 130 kB / 0.6171 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.493, allocations: 7.062 kB / 0.6171 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.4933, allocations: 21.14 kB / 0.6171 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.4933, allocations: 20.19 kB / 0.6171 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.4933, allocations: 6.281 kB / 0.6171 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002857/0.4936, allocations: 339.9 kB / 0.6174 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4936, allocations: 0 / 0.6174 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006051/0.4942, allocations: 197.6 kB / 0.6176 GB, free: 31.93 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.001549/0.4958, allocations: 1.249 MB / 0.6188 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005861/0.4964, allocations: 279.3 kB / 0.6191 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4964, allocations: 0 / 0.6191 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.4966, allocations: 83.67 kB / 0.6192 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.4976, allocations: 205.6 kB / 0.6194 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.5011, allocations: 3.367 MB / 0.6227 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.5014, allocations: 0.8327 MB / 0.6235 GB, free: 28.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002719/0.5016, allocations: 89.59 kB / 0.6236 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.5018, allocations: 142.5 kB / 0.6237 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.5018, allocations: 0 / 0.6237 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.5299, allocations: 12.67 MB / 0.6361 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/8.933, allocations: 5.859 kB / 0.6361 GB, free: 27.5 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)