Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_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.00113/0.00113, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001509/0.001509, allocations: 168.7 kB / 15.95 MB, free: 204 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.348/1.348, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7323/0.7323, allocations: 132.3 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003564, allocations: 8.812 kB / 0.5035 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4908, allocations: 81.57 MB / 0.5832 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01699/0.5079, allocations: 14.23 MB / 0.5971 GB, free: 9.883 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007691/0.5156, allocations: 4.054 MB / 0.601 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000821/0.5165, allocations: 18.78 kB / 0.601 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009854/0.5175, allocations: 204.4 kB / 0.6012 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.5193, allocations: 498 kB / 0.6017 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.5214, allocations: 0.594 MB / 0.6023 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.523, allocations: 1.131 MB / 0.6034 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000476/0.5235, allocations: 263.5 kB / 0.6036 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006966/0.5242, allocations: 361.8 kB / 0.604 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.5246, allocations: 305.1 kB / 0.6043 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.789e-05/0.5247, allocations: 14.19 kB / 0.6043 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.526, allocations: 0.5366 MB / 0.6048 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.5261, allocations: 82.62 kB / 0.6049 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.5262, allocations: 110 kB / 0.605 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007642/0.527, allocations: 0.5167 MB / 0.6055 GB, free: 4.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.527, allocations: 0 / 0.6055 GB, free: 4.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.527, allocations: 0 / 0.6055 GB, free: 4.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.527, allocations: 1.312 kB / 0.6055 GB, free: 4.316 MB / 446.1 MB 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.001192/0.5282, allocations: 0.7608 MB / 0.6062 GB, free: 3.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.5283, allocations: 9.438 kB / 0.6063 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.912e-05/0.5283, allocations: 53.98 kB / 0.6063 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.515e-05/0.5284, allocations: 53.56 kB / 0.6064 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/0.5291, allocations: 402 kB / 0.6067 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.5291, allocations: 24.16 kB / 0.6068 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.5292, allocations: 28.06 kB / 0.6068 GB, free: 3.195 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.5296, allocations: 212.3 kB / 0.607 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.5296, allocations: 0 / 0.607 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.5297, allocations: 10.12 kB / 0.607 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.5297, allocations: 8.5 kB / 0.607 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003844/0.5301, allocations: 178.5 kB / 0.6072 GB, free: 2.977 MB / 446.1 MB 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.001579/0.5317, allocations: 0.9441 MB / 0.6081 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.532, allocations: 146.9 kB / 0.6082 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.5321, allocations: 77.81 kB / 0.6083 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.5324, allocations: 335.9 kB / 0.6086 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.5325, allocations: 31.62 kB / 0.6087 GB, free: 1.637 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.5325, allocations: 0 / 0.6087 GB, free: 1.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006877/0.5332, allocations: 262.4 kB / 0.6089 GB, free: 1.504 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.5332, allocations: 58.14 kB / 0.609 GB, free: 1.438 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/0.5338, allocations: 473.4 kB / 0.6094 GB, free: 1.148 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.5338, allocations: 27.95 kB / 0.6095 GB, free: 1.117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.534, allocations: 237.6 kB / 0.6097 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.534, allocations: 41.23 kB / 0.6097 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.5341, allocations: 5.375 kB / 0.6097 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5342, allocations: 352 kB / 0.6101 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.5344, allocations: 67.08 kB / 0.6101 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.5346, allocations: 151.8 kB / 0.6103 GB, free: 388 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.5348, allocations: 85.62 kB / 0.6103 GB, free: 348 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5348, allocations: 1.156 kB / 0.6103 GB, free: 348 kB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004882/0.5353, allocations: 262.8 kB / 0.6106 GB, free: 208 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.455e-05/0.5354, allocations: 109.5 kB / 0.6107 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5354, allocations: 0 / 0.6107 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5355, allocations: 1.969 kB / 0.6107 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.5357, allocations: 50.38 kB / 0.6108 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.5357, allocations: 1.219 kB / 0.6108 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.536, allocations: 56.02 kB / 0.6108 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.5361, allocations: 10.78 kB / 0.6108 GB, free: 40 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.5361, allocations: 4.531 kB / 0.6108 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000449/0.5366, allocations: 194.3 kB / 0.611 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.5366, allocations: 0 / 0.611 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/0.5366, allocations: 2.438 kB / 0.611 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.5368, allocations: 52.83 kB / 0.6111 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.5368, allocations: 1.625 kB / 0.6111 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.5371, allocations: 47.25 kB / 0.6111 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.5371, allocations: 15.8 kB / 0.6111 GB, free: 15.9 MB / 462.1 MB 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.0001925/0.5373, allocations: 232.9 kB / 0.6113 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.5374, allocations: 46.94 kB / 0.6114 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005355/0.5379, allocations: 266.1 kB / 0.6116 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.5379, allocations: 5.359 kB / 0.6116 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.538, allocations: 0 / 0.6116 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.538, allocations: 0 / 0.6116 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.5391, allocations: 0.7024 MB / 0.6123 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.5391, allocations: 5.141 kB / 0.6123 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.5392, allocations: 37 kB / 0.6124 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.5392, allocations: 5.969 kB / 0.6124 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.5392, allocations: 7.406 kB / 0.6124 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.5393, allocations: 6.219 kB / 0.6124 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5393, allocations: 1.344 kB / 0.6124 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/0.5397, allocations: 349.6 kB / 0.6127 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.5399, allocations: 154.8 kB / 0.6129 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.54, allocations: 1.938 kB / 0.6129 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.5402, allocations: 25.64 kB / 0.6129 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.5402, allocations: 14.44 kB / 0.6129 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.5403, allocations: 8.938 kB / 0.6129 GB, free: 14.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003722/0.5406, allocations: 328.8 kB / 0.6132 GB, free: 14.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5407, allocations: 0.9688 kB / 0.6132 GB, free: 14.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007404/0.5414, allocations: 205.3 kB / 0.6134 GB, free: 14.21 MB / 462.1 MB 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.001906/0.5433, allocations: 1.251 MB / 0.6147 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006812/0.544, allocations: 285.8 kB / 0.6149 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.544, allocations: 0.875 kB / 0.6149 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.5442, allocations: 88.14 kB / 0.615 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.5455, allocations: 219 kB / 0.6152 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/0.55, allocations: 2.275 MB / 0.6174 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006852/0.5507, allocations: 0.8268 MB / 0.6183 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004588/0.5512, allocations: 84.09 kB / 0.6183 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.5514, allocations: 144.4 kB / 0.6185 GB, free: 10.72 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5514, allocations: 0 / 0.6185 GB, free: 10.72 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.5796, allocations: 12.24 MB / 0.6304 GB, free: 15.96 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.5798, allocations: 231.1 kB / 0.6306 GB, free: 15.71 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.708, allocations: 0 / 0.6306 GB, free: 15.71 MB / 478.1 MB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: