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.001073/0.001073, allocations: 91.22 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.001436/0.001437, allocations: 172.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.457/1.457, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9809/0.9809, allocations: 135.3 MB / 426.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003318, allocations: 12.44 kB / 0.5071 GB, free: 5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1896, allocations: 82.32 MB / 0.5875 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02149/0.2112, allocations: 14.22 MB / 0.6014 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007343/0.2186, allocations: 4.059 MB / 0.6053 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008058/0.2194, allocations: 19.88 kB / 0.6053 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.2205, allocations: 198.9 kB / 0.6055 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.3976/0.618, allocations: 490.3 kB / 0.606 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.6201, allocations: 0.5991 MB / 0.6066 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.6216, allocations: 1.119 MB / 0.6077 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004289/0.6221, allocations: 259.7 kB / 0.6079 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006713/0.6227, allocations: 365.9 kB / 0.6083 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.6231, allocations: 308.6 kB / 0.6086 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.6232, allocations: 14.28 kB / 0.6086 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.6242, allocations: 0.5329 MB / 0.6091 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.6244, allocations: 82.14 kB / 0.6092 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.936e-05/0.6245, allocations: 107 kB / 0.6093 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000601/0.6251, allocations: 0.5276 MB / 0.6098 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6251, allocations: 0 / 0.6098 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6251, allocations: 0 / 0.6098 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.6251, allocations: 0 / 0.6098 GB, free: 35.14 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.001009/0.6261, allocations: 0.7587 MB / 0.6105 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.6262, allocations: 9.156 kB / 0.6105 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.6262, allocations: 55.81 kB / 0.6106 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.32e-05/0.6263, allocations: 54.75 kB / 0.6107 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.6268, allocations: 394.5 kB / 0.611 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.6268, allocations: 23.06 kB / 0.6111 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.6269, allocations: 26.59 kB / 0.6111 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.6272, allocations: 216.8 kB / 0.6113 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.6272, allocations: 2.344 kB / 0.6113 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.6273, allocations: 12.23 kB / 0.6113 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.6273, allocations: 3.25 kB / 0.6113 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.6276, allocations: 178.2 kB / 0.6115 GB, free: 34.25 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.001462/0.6291, allocations: 0.9494 MB / 0.6124 GB, free: 33.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.6294, allocations: 133.6 kB / 0.6125 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.6296, allocations: 81.61 kB / 0.6126 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.6298, allocations: 335 kB / 0.6129 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.6298, allocations: 35.31 kB / 0.613 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.6298, allocations: 0 / 0.613 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005816/0.6304, allocations: 264.8 kB / 0.6132 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.6305, allocations: 51.41 kB / 0.6133 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.6309, allocations: 473.6 kB / 0.6137 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.6309, allocations: 28.95 kB / 0.6137 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.631, allocations: 236.1 kB / 0.614 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.6311, allocations: 47.16 kB / 0.614 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.6311, allocations: 3.188 kB / 0.614 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.325e-05/0.6312, allocations: 350.6 kB / 0.6143 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.6313, allocations: 73.28 kB / 0.6144 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.6315, allocations: 152.2 kB / 0.6146 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.6317, allocations: 90.05 kB / 0.6146 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.6317, allocations: 3.953 kB / 0.6146 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000418/0.6321, allocations: 252 kB / 0.6149 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.6322, allocations: 111.9 kB / 0.615 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6322, allocations: 1.078 kB / 0.615 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.6322, allocations: 2.812 kB / 0.615 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.6324, allocations: 52.03 kB / 0.615 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.6325, allocations: 7.375 kB / 0.6151 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.6328, allocations: 51.48 kB / 0.6151 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.6328, allocations: 13.59 kB / 0.6151 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.6328, allocations: 3 kB / 0.6151 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003854/0.6332, allocations: 187.7 kB / 0.6153 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.6332, allocations: 6.922 kB / 0.6153 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-06/0.6332, allocations: 0 / 0.6153 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.6334, allocations: 51.31 kB / 0.6154 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.6334, allocations: 6.172 kB / 0.6154 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.6337, allocations: 42.38 kB / 0.6154 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.6337, allocations: 15.61 kB / 0.6154 GB, free: 32.34 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.0001527/0.6339, allocations: 236.7 kB / 0.6156 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.6339, allocations: 42.06 kB / 0.6157 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.6344, allocations: 261 kB / 0.6159 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.6345, allocations: 4.656 kB / 0.6159 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.6345, allocations: 192 / 0.6159 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6345, allocations: 3.328 kB / 0.6159 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008043/0.6353, allocations: 0.711 MB / 0.6166 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6353, allocations: 3.469 kB / 0.6166 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.6354, allocations: 32.27 kB / 0.6167 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.6354, allocations: 6.625 kB / 0.6167 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.6355, allocations: 6.844 kB / 0.6167 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.6355, allocations: 3.031 kB / 0.6167 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6355, allocations: 0 / 0.6167 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.6358, allocations: 363.1 kB / 0.617 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.636, allocations: 146 kB / 0.6172 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.636, allocations: 9.938 kB / 0.6172 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.6362, allocations: 23.78 kB / 0.6172 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.6363, allocations: 13.81 kB / 0.6172 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.6363, allocations: 6.25 kB / 0.6172 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002815/0.6366, allocations: 329.6 kB / 0.6175 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6366, allocations: 0 / 0.6175 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006144/0.6372, allocations: 202.6 kB / 0.6177 GB, free: 31.29 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.001486/0.6387, allocations: 1.261 MB / 0.619 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005553/0.6393, allocations: 279.3 kB / 0.6192 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6393, allocations: 2.938 kB / 0.6192 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.6395, allocations: 87.5 kB / 0.6193 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.6406, allocations: 216.9 kB / 0.6195 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.6438, allocations: 2.276 MB / 0.6217 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.6441, allocations: 0.8254 MB / 0.6225 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003534/0.6445, allocations: 85.02 kB / 0.6226 GB, free: 28.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.6447, allocations: 142.9 kB / 0.6228 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of SimCode: time 2.184e-06/0.6447, allocations: 0 / 0.6228 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.6724, allocations: 12.25 MB / 0.6347 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.6726, allocations: 236.1 kB / 0.635 GB, free: 27.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/2.843, allocations: 0 / 0.635 GB, free: 27.78 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/linux/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) Environment - environmentSimulation: