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.001466/0.001466, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001681/0.001681, allocations: 196.2 kB / 16.14 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.251/1.251, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6824/0.6824, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 60.12 kB / 0.5012 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1306, allocations: 80.2 MB / 0.5795 GB, free: 9.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01387/0.1445, allocations: 15.51 MB / 0.5946 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005423/0.1499, allocations: 4.344 MB / 0.5989 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000301/0.1503, allocations: 15.88 kB / 0.5989 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007128/0.151, allocations: 222.9 kB / 0.5991 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.1523, allocations: 0.5586 MB / 0.5997 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.1544, allocations: 0.6245 MB / 0.6003 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00178/0.1562, allocations: 1.321 MB / 0.6016 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004463/0.1566, allocations: 280 kB / 0.6018 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006729/0.1573, allocations: 390.2 kB / 0.6022 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.1577, allocations: 322.5 kB / 0.6025 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.1578, allocations: 16 kB / 0.6025 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.1589, allocations: 0.6043 MB / 0.6031 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.159, allocations: 95.55 kB / 0.6032 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.1592, allocations: 214.8 kB / 0.6034 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.2125/0.3717, allocations: 0.7389 MB / 0.6041 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3718, allocations: 3.938 kB / 0.6041 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3718, allocations: 0 / 0.6041 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.3718, allocations: 0.5312 kB / 0.6041 GB, free: 38.28 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.001081/0.3729, allocations: 0.8272 MB / 0.6049 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3729, allocations: 14.59 kB / 0.605 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.373, allocations: 52.86 kB / 0.605 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.311e-05/0.3731, allocations: 56.5 kB / 0.6051 GB, free: 37.72 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.3735, allocations: 419.4 kB / 0.6055 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3735, allocations: 16.25 kB / 0.6055 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.3735, allocations: 34.95 kB / 0.6055 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.3739, allocations: 212.4 kB / 0.6057 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3739, allocations: 0 / 0.6057 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.3739, allocations: 8.969 kB / 0.6057 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3739, allocations: 5.469 kB / 0.6057 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.3742, allocations: 166.7 kB / 0.6059 GB, free: 37.43 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.001142/0.3754, allocations: 0.9486 MB / 0.6068 GB, free: 37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.3756, allocations: 130.5 kB / 0.6069 GB, free: 36.97 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.3758, allocations: 69.92 kB / 0.607 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.3759, allocations: 342.3 kB / 0.6073 GB, free: 36.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.376, allocations: 35.88 kB / 0.6074 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.376, allocations: 0 / 0.6074 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004966/0.3765, allocations: 240.4 kB / 0.6076 GB, free: 36.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.703e-05/0.3765, allocations: 55.53 kB / 0.6076 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.3769, allocations: 472.1 kB / 0.6081 GB, free: 36.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3769, allocations: 32.83 kB / 0.6081 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.377, allocations: 228.5 kB / 0.6083 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.377, allocations: 53.28 kB / 0.6084 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.17e-05/0.3771, allocations: 59.58 kB / 0.6085 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.3772, allocations: 361.3 kB / 0.6088 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.3773, allocations: 75.06 kB / 0.6089 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.3775, allocations: 148 kB / 0.609 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.3778, allocations: 166 kB / 0.6092 GB, free: 35.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3778, allocations: 0 / 0.6092 GB, free: 35.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000412/0.3782, allocations: 253.5 kB / 0.6094 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.3783, allocations: 6.344 kB / 0.6094 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.3783, allocations: 0 / 0.6094 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.3783, allocations: 3.938 kB / 0.6094 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.3785, allocations: 49.14 kB / 0.6095 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3785, allocations: 4 kB / 0.6095 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.3788, allocations: 43.03 kB / 0.6095 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.3788, allocations: 15.3 kB / 0.6095 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002146/0.3791, allocations: 186 kB / 0.6097 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001754/0.3792, allocations: 160.9 kB / 0.6099 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002511/0.3795, allocations: 169 kB / 0.61 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.3795, allocations: 7.219 kB / 0.61 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000395/0.3799, allocations: 252.3 kB / 0.6103 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.291e-06/0.3799, allocations: 5.781 kB / 0.6103 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/0.3799, allocations: 1.875 kB / 0.6103 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.3799, allocations: 3.094 kB / 0.6103 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.3801, allocations: 47.62 kB / 0.6103 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.3801, allocations: 10.03 kB / 0.6103 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.3804, allocations: 39.55 kB / 0.6104 GB, free: 35.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.3805, allocations: 8.031 kB / 0.6104 GB, free: 35.35 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 6.077e-05/0.3805, allocations: 193.4 kB / 0.6106 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.3806, allocations: 54.67 kB / 0.6106 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.381, allocations: 254.8 kB / 0.6109 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.381, allocations: 2.812 kB / 0.6109 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3811, allocations: 0 / 0.6109 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3811, allocations: 3.422 kB / 0.6109 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006968/0.3818, allocations: 0.703 MB / 0.6116 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3818, allocations: 0 / 0.6116 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.3819, allocations: 29.02 kB / 0.6116 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3819, allocations: 3.281 kB / 0.6116 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3819, allocations: 6.375 kB / 0.6116 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.3819, allocations: 8.062 kB / 0.6116 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3819, allocations: 6.516 kB / 0.6116 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.3823, allocations: 337.4 kB / 0.6119 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.603e-05/0.3824, allocations: 132.2 kB / 0.612 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.3824, allocations: 10.7 kB / 0.6121 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.3827, allocations: 29.11 kB / 0.6121 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.3827, allocations: 13.05 kB / 0.6121 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3827, allocations: 7.438 kB / 0.6121 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002552/0.383, allocations: 344.4 kB / 0.6124 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.383, allocations: 3.844 kB / 0.6124 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005375/0.3835, allocations: 199.7 kB / 0.6126 GB, free: 34.32 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.001325/0.3849, allocations: 1.241 MB / 0.6138 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005117/0.3854, allocations: 271.8 kB / 0.6141 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3854, allocations: 0 / 0.6141 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.3856, allocations: 83.81 kB / 0.6142 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.3867, allocations: 219.1 kB / 0.6144 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.39, allocations: 3.504 MB / 0.6178 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.3902, allocations: 0.8297 MB / 0.6186 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002726/0.3905, allocations: 87.11 kB / 0.6187 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3906, allocations: 140.2 kB / 0.6188 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.3906, allocations: 4 kB / 0.6188 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.755/2.145, allocations: 12.41 MB / 0.631 GB, free: 29.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/2.145, allocations: 254.1 kB / 0.6312 GB, free: 29.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/4.695, allocations: 0 / 0.6312 GB, free: 29.73 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)