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: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008904/0.0008904, allocations: 101.4 kB / 15.06 MB, free: 1.094 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.000851/0.000851, allocations: 177.3 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.212/1.212, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8361/0.8361, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 11.94 kB / 0.5068 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1532, allocations: 82.32 MB / 0.5872 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01241/0.1656, allocations: 13.11 MB / 0.6 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004948/0.1706, allocations: 3.73 MB / 0.6037 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003136/0.1709, allocations: 15.88 kB / 0.6037 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008557/0.1718, allocations: 242.8 kB / 0.6039 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.1731, allocations: 0.6232 MB / 0.6045 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.1748, allocations: 0.7767 MB / 0.6053 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.2315/0.4064, allocations: 0.6366 MB / 0.6059 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005449/0.4069, allocations: 261.9 kB / 0.6061 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005977/0.4076, allocations: 342.3 kB / 0.6065 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.4078, allocations: 233.3 kB / 0.6067 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.4079, allocations: 12.19 kB / 0.6067 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006824/0.4086, allocations: 399.4 kB / 0.6071 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.811e-05/0.4086, allocations: 89.33 kB / 0.6072 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.4087, allocations: 103.4 kB / 0.6073 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.4091, allocations: 490.9 kB / 0.6077 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.4091, allocations: 0 / 0.6077 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4091, allocations: 0 / 0.6077 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.4092, allocations: 1.344 kB / 0.6077 GB, free: 34.62 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.0008193/0.41, allocations: 0.731 MB / 0.6084 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.741e-05/0.41, allocations: 8.844 kB / 0.6085 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.4101, allocations: 54.09 kB / 0.6085 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.4105, allocations: 406.1 kB / 0.6089 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.4106, allocations: 22.8 kB / 0.6089 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.4106, allocations: 31.56 kB / 0.6089 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.4109, allocations: 213.3 kB / 0.6092 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.4109, allocations: 0 / 0.6092 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.411, allocations: 9.844 kB / 0.6092 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.411, allocations: 7.656 kB / 0.6092 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.4113, allocations: 177.1 kB / 0.6093 GB, free: 33.78 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.001185/0.4125, allocations: 0.9406 MB / 0.6103 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.4127, allocations: 144.8 kB / 0.6104 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.4129, allocations: 339.8 kB / 0.6107 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.4129, allocations: 32.97 kB / 0.6107 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/0.4129, allocations: 1.078 kB / 0.6107 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004869/0.4134, allocations: 259.5 kB / 0.611 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.4134, allocations: 51.41 kB / 0.611 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.4138, allocations: 476.5 kB / 0.6115 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.4138, allocations: 32.23 kB / 0.6115 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.4139, allocations: 228.5 kB / 0.6117 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.414, allocations: 49.97 kB / 0.6118 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-06/0.414, allocations: 6.438 kB / 0.6118 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.414, allocations: 346.5 kB / 0.6121 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.4142, allocations: 70.28 kB / 0.6122 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.4144, allocations: 152.2 kB / 0.6123 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.4146, allocations: 83.95 kB / 0.6124 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4146, allocations: 0 / 0.6124 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004129/0.415, allocations: 262.2 kB / 0.6127 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.415, allocations: 274 kB / 0.6129 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4151, allocations: 2.75 kB / 0.6129 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.4151, allocations: 0 / 0.6129 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.4153, allocations: 49.69 kB / 0.613 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.4153, allocations: 6.688 kB / 0.613 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.4156, allocations: 49.64 kB / 0.613 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.4156, allocations: 10.94 kB / 0.6131 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.69e-06/0.4156, allocations: 5.453 kB / 0.6131 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003619/0.416, allocations: 193.5 kB / 0.6132 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/0.416, allocations: 0 / 0.6132 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-06/0.416, allocations: 6.625 kB / 0.6132 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.4162, allocations: 44.72 kB / 0.6133 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.4162, allocations: 2.969 kB / 0.6133 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.4165, allocations: 47.12 kB / 0.6133 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.4165, allocations: 10.66 kB / 0.6133 GB, free: 31.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.4166, allocations: 240.6 kB / 0.6136 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.4167, allocations: 48.92 kB / 0.6136 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.4171, allocations: 262.4 kB / 0.6139 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4172, allocations: 1.219 kB / 0.6139 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4172, allocations: 0.5 kB / 0.6139 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4172, allocations: 7.438 kB / 0.6139 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007162/0.4179, allocations: 0.7097 MB / 0.6146 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4179, allocations: 3.688 kB / 0.6146 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.418, allocations: 37.23 kB / 0.6146 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.418, allocations: 1.969 kB / 0.6146 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4181, allocations: 7.453 kB / 0.6146 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4181, allocations: 3.438 kB / 0.6146 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4181, allocations: 0 / 0.6146 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.4184, allocations: 399.1 kB / 0.615 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.4185, allocations: 149.7 kB / 0.6152 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.4186, allocations: 9.25 kB / 0.6152 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.4188, allocations: 27.02 kB / 0.6152 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.4188, allocations: 17.56 kB / 0.6152 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4189, allocations: 5.781 kB / 0.6152 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002414/0.4191, allocations: 333.2 kB / 0.6155 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4191, allocations: 0 / 0.6155 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005212/0.4196, allocations: 200.7 kB / 0.6157 GB, free: 30.6 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 (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.0008399/0.4205, allocations: 481.1 kB / 0.6162 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005062/0.421, allocations: 279.5 kB / 0.6164 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.421, allocations: 0 / 0.6164 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.4212, allocations: 94.62 kB / 0.6165 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009858/0.4222, allocations: 216.2 kB / 0.6167 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008869/0.4231, allocations: 0.8501 MB / 0.6176 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.4233, allocations: 0.8374 MB / 0.6184 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002509/0.4235, allocations: 89.66 kB / 0.6185 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.4236, allocations: 36.8 kB / 0.6185 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4236, allocations: 0.9844 kB / 0.6185 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of Templates: time 0.01117/0.4348, allocations: 8.048 MB / 0.6264 GB, free: 28.61 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile Environment - environmentSimulation: (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 & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: