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.001471/0.001471, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001741/0.001741, allocations: 177.3 kB / 15.95 MB, free: 216 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.981/1.981, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9733/0.9733, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005051/0.0005052, allocations: 8 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6434/0.6439, allocations: 81.58 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02157/0.6656, allocations: 13.12 MB / 0.5958 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008978/0.6746, allocations: 3.746 MB / 0.5994 GB, free: 8.207 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008489/0.6755, allocations: 9.969 kB / 0.5994 GB, free: 8.203 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.6767, allocations: 254.8 kB / 0.5997 GB, free: 8.066 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.6792, allocations: 0.6242 MB / 0.6003 GB, free: 7.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.6821, allocations: 0.763 MB / 0.601 GB, free: 7.305 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.6837, allocations: 0.6336 MB / 0.6017 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005884/0.6843, allocations: 274.3 kB / 0.6019 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008023/0.6852, allocations: 350.5 kB / 0.6023 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004356/0.6856, allocations: 222.6 kB / 0.6025 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.6857, allocations: 14.44 kB / 0.6025 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.6869, allocations: 398.3 kB / 0.6029 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.687, allocations: 82.48 kB / 0.6029 GB, free: 6.188 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.6872, allocations: 106.3 kB / 0.603 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008943/0.6881, allocations: 484.2 kB / 0.6035 GB, free: 5.812 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6881, allocations: 4 kB / 0.6035 GB, free: 5.809 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.6881, allocations: 1.219 kB / 0.6035 GB, free: 5.809 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.6881, allocations: 0 / 0.6035 GB, free: 5.809 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.001438/0.6896, allocations: 0.7424 MB / 0.6042 GB, free: 5.156 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.6896, allocations: 13.22 kB / 0.6043 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.336e-05/0.6897, allocations: 53.48 kB / 0.6043 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.6898, allocations: 50.25 kB / 0.6044 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.6909, allocations: 398.3 kB / 0.6047 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.6909, allocations: 19.97 kB / 0.6048 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.691, allocations: 26.78 kB / 0.6048 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006514/0.6917, allocations: 220 kB / 0.605 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.6917, allocations: 0 / 0.605 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.6917, allocations: 13.34 kB / 0.605 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.6917, allocations: 5.656 kB / 0.605 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.6922, allocations: 174 kB / 0.6052 GB, free: 4.488 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.002178/0.6944, allocations: 0.9473 MB / 0.6061 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.6948, allocations: 144.5 kB / 0.6062 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003778/0.6951, allocations: 331.8 kB / 0.6065 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.6952, allocations: 31.66 kB / 0.6066 GB, free: 3.191 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.6952, allocations: 0 / 0.6066 GB, free: 3.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007468/0.6959, allocations: 262 kB / 0.6068 GB, free: 3.059 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.696, allocations: 53.75 kB / 0.6069 GB, free: 2.996 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006564/0.6967, allocations: 474.6 kB / 0.6073 GB, free: 2.707 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.6967, allocations: 26.83 kB / 0.6074 GB, free: 2.676 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.6969, allocations: 238.2 kB / 0.6076 GB, free: 2.465 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.697, allocations: 44.42 kB / 0.6076 GB, free: 2.426 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.697, allocations: 13.62 kB / 0.6076 GB, free: 2.414 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.6972, allocations: 351.6 kB / 0.608 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.6974, allocations: 72.17 kB / 0.608 GB, free: 2.039 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.6977, allocations: 146.3 kB / 0.6082 GB, free: 1.926 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.698, allocations: 92.22 kB / 0.6083 GB, free: 1.883 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.698, allocations: 0 / 0.6083 GB, free: 1.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005542/0.6985, allocations: 260.9 kB / 0.6085 GB, free: 1.746 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000261/0.6988, allocations: 273.6 kB / 0.6088 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.6988, allocations: 1.25 kB / 0.6088 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.6988, allocations: 6.547 kB / 0.6088 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.6991, allocations: 48.22 kB / 0.6088 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.6991, allocations: 2.625 kB / 0.6088 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.6995, allocations: 54.92 kB / 0.6089 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.6995, allocations: 7.906 kB / 0.6089 GB, free: 1.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.6996, allocations: 7.625 kB / 0.6089 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000453/0.7, allocations: 197.8 kB / 0.6091 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.7, allocations: 5.031 kB / 0.6091 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.7, allocations: 2.5 kB / 0.6091 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.7003, allocations: 48.22 kB / 0.6091 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.7003, allocations: 6.391 kB / 0.6092 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.7007, allocations: 43.34 kB / 0.6092 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.7008, allocations: 6.688 kB / 0.6092 GB, free: 1.277 MB / 446.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.000227/0.701, allocations: 237 kB / 0.6094 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.7011, allocations: 47.89 kB / 0.6095 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000596/0.7017, allocations: 259.5 kB / 0.6097 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.7017, allocations: 1.5 kB / 0.6097 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7017, allocations: 0 / 0.6097 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.7017, allocations: 5.297 kB / 0.6097 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.703, allocations: 0.7125 MB / 0.6104 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.703, allocations: 2.906 kB / 0.6104 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.7031, allocations: 31.83 kB / 0.6105 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.7032, allocations: 1.844 kB / 0.6105 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.7032, allocations: 3.75 kB / 0.6105 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.7032, allocations: 5.375 kB / 0.6105 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7032, allocations: 1.188 kB / 0.6105 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.7038, allocations: 402.2 kB / 0.6109 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.704, allocations: 150.1 kB / 0.611 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.7041, allocations: 6.062 kB / 0.611 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.7043, allocations: 21.59 kB / 0.611 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.7044, allocations: 26.95 kB / 0.611 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.7044, allocations: 4.438 kB / 0.6111 GB, free: 15.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005181/0.7049, allocations: 329.1 kB / 0.6114 GB, free: 15.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7049, allocations: 0 / 0.6114 GB, free: 15.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007453/0.7057, allocations: 202.1 kB / 0.6116 GB, free: 15.52 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.002554/0.7083, allocations: 1.577 MB / 0.6131 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008644/0.7091, allocations: 275.5 kB / 0.6134 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7092, allocations: 4 kB / 0.6134 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.7094, allocations: 92.73 kB / 0.6135 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.7108, allocations: 227.8 kB / 0.6137 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.7143, allocations: 1.472 MB / 0.6151 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/0.7151, allocations: 0.8353 MB / 0.6159 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006252/0.7158, allocations: 85.88 kB / 0.616 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/0.7162, allocations: 144.3 kB / 0.6161 GB, free: 11.88 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/0.7162, allocations: 4 kB / 0.6161 GB, free: 11.88 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.7584, allocations: 11.98 MB / 0.6278 GB, free: 2.41 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002656/0.7587, allocations: 227.4 kB / 0.6281 GB, free: 2.168 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.131/3.889, allocations: 0 / 0.6281 GB, free: 2.168 MB / 462.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: