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: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 108 kB / 15.61 MB, free: 152 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.002152/0.002152, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.599/1.599, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9617/0.9617, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.84 kB / 0.5053 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2039, allocations: 80.92 MB / 0.5844 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02025/0.2242, allocations: 17.45 MB / 0.6014 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3429/0.5672, allocations: 4.915 MB / 0.6062 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006836/0.5679, allocations: 16.34 kB / 0.6062 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008368/0.5688, allocations: 246.5 kB / 0.6065 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.5702, allocations: 0.6126 MB / 0.6071 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.5723, allocations: 0.7299 MB / 0.6078 GB, free: 35.9 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.5735, allocations: 0.9615 MB / 0.6087 GB, free: 35.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004533/0.574, allocations: 339 kB / 0.609 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006122/0.5746, allocations: 415.2 kB / 0.6094 GB, free: 35.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.5749, allocations: 317 kB / 0.6097 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.361e-05/0.575, allocations: 32.22 kB / 0.6098 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.5761, allocations: 0.7207 MB / 0.6105 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.5762, allocations: 135.8 kB / 0.6106 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.5764, allocations: 247.7 kB / 0.6108 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009712/0.5774, allocations: 0.8688 MB / 0.6117 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5774, allocations: 0 / 0.6117 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5774, allocations: 0 / 0.6117 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.5774, allocations: 0 / 0.6117 GB, free: 35.57 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.001117/0.5785, allocations: 0.8844 MB / 0.6125 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.5786, allocations: 9.25 kB / 0.6125 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.5788, allocations: 63.91 kB / 0.6126 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.5793, allocations: 445.8 kB / 0.613 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.5793, allocations: 26.34 kB / 0.6131 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.5793, allocations: 26.06 kB / 0.6131 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.5798, allocations: 293.6 kB / 0.6134 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5798, allocations: 0 / 0.6134 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.5798, allocations: 9.156 kB / 0.6134 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.5798, allocations: 6.469 kB / 0.6134 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.5802, allocations: 186.9 kB / 0.6136 GB, free: 34.59 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.00147/0.5817, allocations: 1.486 MB / 0.615 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.582, allocations: 160.5 kB / 0.6152 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.5821, allocations: 83.89 kB / 0.6152 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.5835, allocations: 1.277 MB / 0.6165 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.5835, allocations: 44.31 kB / 0.6165 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.5835, allocations: 0 / 0.6165 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006009/0.5841, allocations: 246.2 kB / 0.6168 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.5842, allocations: 55.34 kB / 0.6168 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/0.5848, allocations: 0.5833 MB / 0.6174 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.5848, allocations: 29.52 kB / 0.6174 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.585, allocations: 271.5 kB / 0.6177 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.585, allocations: 57.19 kB / 0.6177 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.444e-05/0.5851, allocations: 71.77 kB / 0.6178 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.5852, allocations: 359.1 kB / 0.6181 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.5854, allocations: 79.33 kB / 0.6182 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.5857, allocations: 210.3 kB / 0.6184 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.5861, allocations: 232.4 kB / 0.6186 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.5861, allocations: 7.938 kB / 0.6186 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005273/0.5867, allocations: 310.9 kB / 0.6189 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5867, allocations: 10.59 kB / 0.619 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.5867, allocations: 3.25 kB / 0.619 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5867, allocations: 3.062 kB / 0.619 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.587, allocations: 69.44 kB / 0.619 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.587, allocations: 5.719 kB / 0.619 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.5873, allocations: 42.16 kB / 0.6191 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.5874, allocations: 14 kB / 0.6191 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002925/0.5877, allocations: 215.6 kB / 0.6193 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002263/0.5879, allocations: 208.7 kB / 0.6195 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003292/0.5883, allocations: 227.3 kB / 0.6197 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.404e-06/0.5883, allocations: 11.84 kB / 0.6197 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004983/0.5888, allocations: 303.8 kB / 0.62 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.5888, allocations: 5.938 kB / 0.62 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-06/0.5888, allocations: 2.938 kB / 0.62 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/0.5888, allocations: 6.844 kB / 0.62 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.589, allocations: 72.33 kB / 0.6201 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.589, allocations: 2.906 kB / 0.6201 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.5893, allocations: 39.75 kB / 0.6201 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.5894, allocations: 10.94 kB / 0.6201 GB, free: 31.03 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 9.66e-05/0.5895, allocations: 200.9 kB / 0.6203 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.5896, allocations: 51.66 kB / 0.6204 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005216/0.5901, allocations: 258.7 kB / 0.6206 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.5901, allocations: 6.641 kB / 0.6206 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.5901, allocations: 0 / 0.6206 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5901, allocations: 0 / 0.6206 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008591/0.591, allocations: 0.7397 MB / 0.6214 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.591, allocations: 0 / 0.6214 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.5911, allocations: 31.67 kB / 0.6214 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.5911, allocations: 4.016 kB / 0.6214 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.5911, allocations: 6.297 kB / 0.6214 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5912, allocations: 5.406 kB / 0.6214 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5912, allocations: 2.906 kB / 0.6214 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.5916, allocations: 359.6 kB / 0.6217 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.5917, allocations: 149.4 kB / 0.6219 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.914e-05/0.5917, allocations: 8.938 kB / 0.6219 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.5919, allocations: 11.19 kB / 0.6219 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.592, allocations: 14.53 kB / 0.6219 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.592, allocations: 11.62 kB / 0.6219 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004036/0.5924, allocations: 419.7 kB / 0.6223 GB, free: 30 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5924, allocations: 0 / 0.6223 GB, free: 30 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007821/0.5932, allocations: 224.5 kB / 0.6226 GB, free: 29.98 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.001084/0.5943, allocations: 496.8 kB / 0.623 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006991/0.595, allocations: 335.6 kB / 0.6233 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.595, allocations: 7.375 kB / 0.6234 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.5952, allocations: 90.95 kB / 0.6234 GB, free: 29.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.5964, allocations: 251.2 kB / 0.6237 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.5977, allocations: 0.8084 MB / 0.6245 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.5979, allocations: 0.8496 MB / 0.6253 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003367/0.5983, allocations: 105.5 kB / 0.6254 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.5984, allocations: 40.72 kB / 0.6254 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.5984, allocations: 0 / 0.6254 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of Templates: time 0.01781/0.6162, allocations: 10.18 MB / 0.6354 GB, free: 27.74 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)