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.0006259/0.0006259, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004164/0.004164, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.287/1.287, allocations: 223.3 MB / 240.3 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.7353/0.7353, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 8 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3561, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01399/0.3701, allocations: 14.99 MB / 0.5984 GB, free: 9.219 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005577/0.3757, allocations: 4.292 MB / 0.6026 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.376, allocations: 11.38 kB / 0.6026 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.3767, allocations: 224.5 kB / 0.6028 GB, free: 6.078 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.3777, allocations: 0.5507 MB / 0.6033 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.3791, allocations: 0.6311 MB / 0.6039 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.3803, allocations: 1.309 MB / 0.6052 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.3807, allocations: 286.3 kB / 0.6055 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005374/0.3812, allocations: 387.9 kB / 0.6059 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.3816, allocations: 310.1 kB / 0.6062 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.3816, allocations: 14.78 kB / 0.6062 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008386/0.3825, allocations: 0.601 MB / 0.6068 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.42e-05/0.3826, allocations: 86.31 kB / 0.6068 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.3828, allocations: 238.5 kB / 0.6071 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007713/0.3835, allocations: 0.742 MB / 0.6078 GB, free: 3.004 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3836, allocations: 0 / 0.6078 GB, free: 3.004 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3836, allocations: 0 / 0.6078 GB, free: 3.004 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.3836, allocations: 1.312 kB / 0.6078 GB, free: 3.004 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.00097/0.3845, allocations: 0.7497 MB / 0.6085 GB, free: 2.344 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.3846, allocations: 8.375 kB / 0.6085 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.3846, allocations: 58.39 kB / 0.6086 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.146e-05/0.3847, allocations: 50.59 kB / 0.6086 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.3852, allocations: 410.6 kB / 0.609 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.3852, allocations: 19.97 kB / 0.6091 GB, free: 1.895 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.3853, allocations: 26.94 kB / 0.6091 GB, free: 1.887 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.3857, allocations: 222.5 kB / 0.6093 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3857, allocations: 7.922 kB / 0.6093 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.3857, allocations: 14.25 kB / 0.6093 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3858, allocations: 5.156 kB / 0.6093 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.3861, allocations: 171.9 kB / 0.6095 GB, free: 1.66 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.001392/0.3875, allocations: 0.9558 MB / 0.6104 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.3878, allocations: 135.7 kB / 0.6105 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.3879, allocations: 73.53 kB / 0.6106 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.3882, allocations: 344.8 kB / 0.6109 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.3882, allocations: 35.44 kB / 0.611 GB, free: 316 kB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.3882, allocations: 0 / 0.611 GB, free: 316 kB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005531/0.3888, allocations: 252.7 kB / 0.6112 GB, free: 188 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.3888, allocations: 54.09 kB / 0.6113 GB, free: 124 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/0.3893, allocations: 481 kB / 0.6117 GB, free: 15.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.3893, allocations: 32.55 kB / 0.6118 GB, free: 15.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.3895, allocations: 233 kB / 0.612 GB, free: 15.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.3895, allocations: 46.05 kB / 0.612 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.3896, allocations: 23.91 kB / 0.6121 GB, free: 15.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3897, allocations: 353.1 kB / 0.6124 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.3899, allocations: 76.83 kB / 0.6125 GB, free: 15.14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.3901, allocations: 153.9 kB / 0.6126 GB, free: 15.03 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.3905, allocations: 181.2 kB / 0.6128 GB, free: 14.93 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3905, allocations: 1.156 kB / 0.6128 GB, free: 14.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004699/0.391, allocations: 266.5 kB / 0.613 GB, free: 14.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/0.391, allocations: 104.9 kB / 0.6131 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.391, allocations: 4 kB / 0.6131 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3911, allocations: 6.188 kB / 0.6131 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.3913, allocations: 45.28 kB / 0.6132 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3913, allocations: 6.688 kB / 0.6132 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.3916, allocations: 43.16 kB / 0.6132 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.3916, allocations: 18.64 kB / 0.6133 GB, free: 14.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.41e-06/0.3917, allocations: 4.594 kB / 0.6133 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003976/0.3921, allocations: 191.8 kB / 0.6134 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.3921, allocations: 1.062 kB / 0.6134 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-06/0.3921, allocations: 1 kB / 0.6134 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.3923, allocations: 49.44 kB / 0.6135 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3923, allocations: 1.188 kB / 0.6135 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.3926, allocations: 51.5 kB / 0.6135 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.3926, allocations: 10.58 kB / 0.6136 GB, free: 14.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.3928, allocations: 242.1 kB / 0.6138 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.3929, allocations: 39.03 kB / 0.6138 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.3934, allocations: 270.6 kB / 0.6141 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.3934, allocations: 2.344 kB / 0.6141 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3934, allocations: 0 / 0.6141 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3934, allocations: 0.9688 kB / 0.6141 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009195/0.3943, allocations: 0.7144 MB / 0.6148 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.3943, allocations: 1.219 kB / 0.6148 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.3945, allocations: 32.81 kB / 0.6148 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3945, allocations: 2.25 kB / 0.6148 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3945, allocations: 14.16 kB / 0.6148 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3945, allocations: 2.594 kB / 0.6148 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3945, allocations: 5.094 kB / 0.6148 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.395, allocations: 350 kB / 0.6152 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.3951, allocations: 147 kB / 0.6153 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.3952, allocations: 5.969 kB / 0.6153 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.3954, allocations: 21.2 kB / 0.6153 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.3955, allocations: 19.05 kB / 0.6154 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3955, allocations: 9.766 kB / 0.6154 GB, free: 13.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003539/0.3959, allocations: 336.6 kB / 0.6157 GB, free: 12.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3959, allocations: 0 / 0.6157 GB, free: 12.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006004/0.3965, allocations: 198.5 kB / 0.6159 GB, free: 12.81 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 (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.001618/0.3981, allocations: 1.271 MB / 0.6171 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006131/0.3987, allocations: 279 kB / 0.6174 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3987, allocations: 0 / 0.6174 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.3989, allocations: 104.8 kB / 0.6175 GB, free: 11.74 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.4002, allocations: 219.5 kB / 0.6177 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.4047, allocations: 3.549 MB / 0.6212 GB, free: 9.117 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.405, allocations: 0.826 MB / 0.622 GB, free: 8.352 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.4054, allocations: 82.28 kB / 0.622 GB, free: 8.316 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.4056, allocations: 144 kB / 0.6222 GB, free: 8.199 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4056, allocations: 4 kB / 0.6222 GB, free: 8.195 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5502/0.9558, allocations: 12.15 MB / 0.634 GB, free: 12.66 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.956, allocations: 245 kB / 0.6343 GB, free: 12.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.961, allocations: 3.938 kB / 0.6343 GB, free: 12.4 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/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)