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.001199/0.001199, allocations: 108 kB / 15.6 MB, free: 128 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.001162/0.001162, allocations: 196.8 kB / 16.53 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.704/0.704, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 68.52 kB / 0.5019 GB, free: 8.602 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.123, allocations: 80.19 MB / 0.5802 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0148/0.1379, allocations: 15.55 MB / 0.5954 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005451/0.1433, allocations: 4.332 MB / 0.5996 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003988/0.1438, allocations: 15.94 kB / 0.5996 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007435/0.1445, allocations: 262.3 kB / 0.5999 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.1457, allocations: 0.6023 MB / 0.6005 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.1471, allocations: 0.7055 MB / 0.6012 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009181/0.1481, allocations: 1.025 MB / 0.6022 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003852/0.1485, allocations: 336.1 kB / 0.6025 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005394/0.149, allocations: 426.2 kB / 0.6029 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.1494, allocations: 314.6 kB / 0.6032 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.43e-05/0.1494, allocations: 32 kB / 0.6032 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008789/0.1503, allocations: 0.6278 MB / 0.6038 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.1504, allocations: 107.6 kB / 0.6039 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.1506, allocations: 226.7 kB / 0.6041 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.2005/0.3511, allocations: 0.7569 MB / 0.6049 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3512, allocations: 3.844 kB / 0.6049 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3512, allocations: 0 / 0.6049 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.3512, allocations: 0 / 0.6049 GB, free: 37.59 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.00087/0.3521, allocations: 0.8276 MB / 0.6057 GB, free: 37.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.3521, allocations: 9.375 kB / 0.6057 GB, free: 37.08 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.3522, allocations: 56.38 kB / 0.6058 GB, free: 37.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.3522, allocations: 59.48 kB / 0.6058 GB, free: 37.01 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.3526, allocations: 415.3 kB / 0.6062 GB, free: 36.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3527, allocations: 17.44 kB / 0.6062 GB, free: 36.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.449e-05/0.3527, allocations: 34.56 kB / 0.6063 GB, free: 36.76 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.353, allocations: 209.4 kB / 0.6065 GB, free: 36.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.353, allocations: 5.812 kB / 0.6065 GB, free: 36.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.3531, allocations: 6.875 kB / 0.6065 GB, free: 36.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3531, allocations: 5.812 kB / 0.6065 GB, free: 36.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.3534, allocations: 166.5 kB / 0.6066 GB, free: 36.72 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.00114/0.3545, allocations: 0.9543 MB / 0.6076 GB, free: 36.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.3548, allocations: 131.6 kB / 0.6077 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.3549, allocations: 75.08 kB / 0.6078 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.3551, allocations: 334.6 kB / 0.6081 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.137e-05/0.3551, allocations: 38.78 kB / 0.6081 GB, free: 35.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.3551, allocations: 0 / 0.6081 GB, free: 35.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004961/0.3556, allocations: 242.1 kB / 0.6084 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.542e-05/0.3556, allocations: 58 kB / 0.6084 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.356, allocations: 471.7 kB / 0.6089 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.356, allocations: 31.8 kB / 0.6089 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3561, allocations: 227.9 kB / 0.6091 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.3561, allocations: 53.61 kB / 0.6092 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.62e-05/0.3562, allocations: 59 kB / 0.6092 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.3563, allocations: 359.2 kB / 0.6096 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.3564, allocations: 71.72 kB / 0.6096 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.3566, allocations: 148.9 kB / 0.6098 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.3569, allocations: 157.2 kB / 0.6099 GB, free: 35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3569, allocations: 4 kB / 0.6099 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004036/0.3573, allocations: 260.2 kB / 0.6102 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.3573, allocations: 5.844 kB / 0.6102 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3573, allocations: 0 / 0.6102 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3574, allocations: 2.812 kB / 0.6102 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.3576, allocations: 46.58 kB / 0.6102 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3576, allocations: 2.938 kB / 0.6102 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.3578, allocations: 36.11 kB / 0.6103 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.3579, allocations: 14.86 kB / 0.6103 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002082/0.3581, allocations: 193.7 kB / 0.6105 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001728/0.3583, allocations: 158.1 kB / 0.6106 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002514/0.3585, allocations: 166.1 kB / 0.6108 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.3585, allocations: 3.938 kB / 0.6108 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0003896/0.3589, allocations: 259.5 kB / 0.611 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-06/0.3589, allocations: 5.844 kB / 0.611 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/0.3589, allocations: 2.812 kB / 0.611 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-06/0.359, allocations: 3.328 kB / 0.611 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.3591, allocations: 43.94 kB / 0.6111 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.3591, allocations: 3.75 kB / 0.6111 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.3594, allocations: 35.53 kB / 0.6111 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.3595, allocations: 17.92 kB / 0.6111 GB, free: 34.64 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 5.647e-05/0.3595, allocations: 193.5 kB / 0.6113 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/0.3596, allocations: 42.84 kB / 0.6114 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004311/0.36, allocations: 252.6 kB / 0.6116 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.36, allocations: 7.656 kB / 0.6116 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.36, allocations: 0 / 0.6116 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3601, allocations: 2.906 kB / 0.6116 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006665/0.3607, allocations: 0.6907 MB / 0.6123 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3607, allocations: 4.594 kB / 0.6123 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.3608, allocations: 37.45 kB / 0.6123 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3609, allocations: 1.078 kB / 0.6123 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3609, allocations: 6.562 kB / 0.6123 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3609, allocations: 6.875 kB / 0.6123 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3609, allocations: 0 / 0.6123 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.3612, allocations: 352.5 kB / 0.6127 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.111e-05/0.3613, allocations: 131.2 kB / 0.6128 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.3614, allocations: 3.438 kB / 0.6128 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3616, allocations: 18.86 kB / 0.6128 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.3616, allocations: 12.27 kB / 0.6128 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.3616, allocations: 9.594 kB / 0.6128 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002399/0.3619, allocations: 337.3 kB / 0.6132 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3619, allocations: 0 / 0.6132 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00049/0.3624, allocations: 205.3 kB / 0.6134 GB, free: 33.61 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.001305/0.3637, allocations: 1.258 MB / 0.6146 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005348/0.3642, allocations: 272.5 kB / 0.6148 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3643, allocations: 3.062 kB / 0.6148 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.3644, allocations: 85.92 kB / 0.6149 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/0.3653, allocations: 206.2 kB / 0.6151 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.3683, allocations: 3.37 MB / 0.6184 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.3685, allocations: 0.8325 MB / 0.6192 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000224/0.3687, allocations: 94.14 kB / 0.6193 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.3688, allocations: 143.9 kB / 0.6195 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3688, allocations: 0 / 0.6195 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.892/2.261, allocations: 12.66 MB / 0.6318 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.125/11.39, allocations: 8.047 kB / 0.6318 GB, free: 29.24 MB / 0.4981 GB (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/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)