Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.001079/0.001079, allocations: 108 kB / 15.61 MB, free: 148 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.001078/0.001078, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7148/0.7148, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 64.41 kB / 0.5019 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3202, allocations: 80.2 MB / 0.5802 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.017/0.3373, allocations: 17.47 MB / 0.5972 GB, free: 7.957 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006621/0.3439, allocations: 4.918 MB / 0.602 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005242/0.3445, allocations: 13.81 kB / 0.6021 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007509/0.3452, allocations: 255 kB / 0.6023 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.3466, allocations: 0.6071 MB / 0.6029 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.3484, allocations: 0.7304 MB / 0.6036 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009635/0.3494, allocations: 0.9675 MB / 0.6046 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.3498, allocations: 326.9 kB / 0.6049 GB, free: 2.477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005892/0.3504, allocations: 421 kB / 0.6053 GB, free: 2.234 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.3508, allocations: 313.5 kB / 0.6056 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.3509, allocations: 28.47 kB / 0.6056 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.352, allocations: 0.7262 MB / 0.6063 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.3522, allocations: 137.6 kB / 0.6064 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.3524, allocations: 240.3 kB / 0.6067 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.3535, allocations: 0.8788 MB / 0.6075 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3535, allocations: 1.906 kB / 0.6075 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3535, allocations: 4 kB / 0.6075 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3535, allocations: 0 / 0.6075 GB, free: 0.8359 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001188/0.3547, allocations: 0.8763 MB / 0.6084 GB, free: 92 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.3547, allocations: 8.969 kB / 0.6084 GB, free: 92 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.116e-05/0.3548, allocations: 58.94 kB / 0.6085 GB, free: 32 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.355, allocations: 57.91 kB / 0.6085 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.3555, allocations: 455 kB / 0.6089 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.3556, allocations: 20.22 kB / 0.609 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.3556, allocations: 32.84 kB / 0.609 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.3561, allocations: 279.5 kB / 0.6093 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3561, allocations: 3.938 kB / 0.6093 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.3561, allocations: 10.69 kB / 0.6093 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3561, allocations: 9.969 kB / 0.6093 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.3565, allocations: 187.4 kB / 0.6095 GB, free: 15.31 MB / 462.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.0017/0.3583, allocations: 1.48 MB / 0.6109 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.3586, allocations: 168.7 kB / 0.6111 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.3588, allocations: 87.59 kB / 0.6111 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001462/0.3602, allocations: 1.281 MB / 0.6124 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.3603, allocations: 32 kB / 0.6124 GB, free: 12.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.3603, allocations: 0 / 0.6124 GB, free: 12.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006445/0.3609, allocations: 246.9 kB / 0.6127 GB, free: 12.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.361, allocations: 58.38 kB / 0.6127 GB, free: 12.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/0.3616, allocations: 0.5844 MB / 0.6133 GB, free: 11.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3616, allocations: 27.11 kB / 0.6133 GB, free: 11.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.3618, allocations: 273.7 kB / 0.6136 GB, free: 11.65 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.3619, allocations: 54.47 kB / 0.6136 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/0.362, allocations: 70.53 kB / 0.6137 GB, free: 11.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3621, allocations: 358.8 kB / 0.614 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.3623, allocations: 83.19 kB / 0.6141 GB, free: 11.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.3626, allocations: 204.1 kB / 0.6143 GB, free: 10.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.363, allocations: 236.8 kB / 0.6145 GB, free: 10.81 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.363, allocations: 1.031 kB / 0.6145 GB, free: 10.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005838/0.3636, allocations: 316.9 kB / 0.6148 GB, free: 10.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3636, allocations: 9.766 kB / 0.6149 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3636, allocations: 2.75 kB / 0.6149 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3637, allocations: 3.656 kB / 0.6149 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.3639, allocations: 64.22 kB / 0.6149 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3639, allocations: 3.844 kB / 0.6149 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.3642, allocations: 43.23 kB / 0.615 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.3643, allocations: 14.83 kB / 0.615 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002916/0.3646, allocations: 218.5 kB / 0.6152 GB, free: 10.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002653/0.3649, allocations: 207.7 kB / 0.6154 GB, free: 10.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003626/0.3652, allocations: 234.3 kB / 0.6156 GB, free: 10.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.448e-06/0.3652, allocations: 1.312 kB / 0.6156 GB, free: 10.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005527/0.3658, allocations: 325.3 kB / 0.6159 GB, free: 9.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.3658, allocations: 5.75 kB / 0.6159 GB, free: 9.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3658, allocations: 6.297 kB / 0.6159 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.018e-06/0.3658, allocations: 4.156 kB / 0.6159 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.3661, allocations: 59.66 kB / 0.616 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3661, allocations: 4.531 kB / 0.616 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.3664, allocations: 39 kB / 0.616 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.3664, allocations: 15.78 kB / 0.616 GB, free: 9.867 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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 0.0001045/0.3665, allocations: 209.6 kB / 0.6162 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-05/0.3666, allocations: 49.86 kB / 0.6163 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005293/0.3672, allocations: 250.6 kB / 0.6165 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.3672, allocations: 6.328 kB / 0.6165 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3672, allocations: 4 kB / 0.6165 GB, free: 9.484 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3672, allocations: 0.9375 kB / 0.6165 GB, free: 9.484 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009654/0.3682, allocations: 0.7327 MB / 0.6173 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3682, allocations: 0 / 0.6173 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.3683, allocations: 32.14 kB / 0.6173 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3683, allocations: 6.188 kB / 0.6173 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3684, allocations: 6.234 kB / 0.6173 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3684, allocations: 2.344 kB / 0.6173 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3684, allocations: 1.219 kB / 0.6173 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.3688, allocations: 359.3 kB / 0.6177 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.369, allocations: 143.8 kB / 0.6178 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/0.3691, allocations: 10.31 kB / 0.6178 GB, free: 8.445 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.3693, allocations: 14.42 kB / 0.6178 GB, free: 8.438 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.3693, allocations: 14.95 kB / 0.6178 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3693, allocations: 4.75 kB / 0.6178 GB, free: 8.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004424/0.3698, allocations: 425.2 kB / 0.6182 GB, free: 8.191 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3698, allocations: 0 / 0.6182 GB, free: 8.191 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007231/0.3705, allocations: 230.8 kB / 0.6185 GB, free: 8.141 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 (17): * Single equations (assignments): 15 * 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.001632/0.3722, allocations: 1.271 MB / 0.6197 GB, free: 7.219 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006623/0.3728, allocations: 333.6 kB / 0.62 GB, free: 7.082 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3728, allocations: 1.562 kB / 0.62 GB, free: 7.082 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.373, allocations: 89.2 kB / 0.6201 GB, free: 7.043 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.3742, allocations: 251.2 kB / 0.6203 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.379, allocations: 4.012 MB / 0.6243 GB, free: 3.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.3793, allocations: 0.8467 MB / 0.6251 GB, free: 2.605 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003399/0.3797, allocations: 104.3 kB / 0.6252 GB, free: 2.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.3799, allocations: 159.4 kB / 0.6253 GB, free: 2.344 MB / 462.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3799, allocations: 0 / 0.6253 GB, free: 2.344 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5582/0.9381, allocations: 14.88 MB / 0.6399 GB, free: 3.738 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.53, allocations: 2.266 kB / 0.6399 GB, free: 3.738 MB / 478.1 MB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)