Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_dev_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.007358/0.007358, allocations: 100.9 kB / 15.73 MB, free: 6.477 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.001807/0.001807, allocations: 191.5 kB / 16.67 MB, free: 6.391 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9106/0.9106, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 68.08 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4296, allocations: 80.91 MB / 0.6642 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01684/0.4465, allocations: 15.55 MB / 0.6793 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006564/0.4531, allocations: 4.331 MB / 0.6836 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005431/0.4537, allocations: 16.72 kB / 0.6836 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009008/0.4546, allocations: 265.4 kB / 0.6838 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.4561, allocations: 0.6055 MB / 0.6844 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.4579, allocations: 0.712 MB / 0.6851 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.4592, allocations: 1.035 MB / 0.6861 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005118/0.4597, allocations: 337.6 kB / 0.6865 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000735/0.4605, allocations: 433.5 kB / 0.6869 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.4609, allocations: 314.8 kB / 0.6872 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/0.461, allocations: 27.47 kB / 0.6872 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.4621, allocations: 0.6317 MB / 0.6878 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.4622, allocations: 97.03 kB / 0.6879 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.4625, allocations: 231 kB / 0.6881 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.4635, allocations: 0.7679 MB / 0.6889 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4635, allocations: 5.156 kB / 0.6889 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4635, allocations: 3.938 kB / 0.6889 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.4636, allocations: 0 / 0.6889 GB, free: 3.805 MB / 0.5137 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.001211/0.4648, allocations: 0.836 MB / 0.6897 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.4648, allocations: 9.344 kB / 0.6897 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.521e-05/0.4649, allocations: 57.86 kB / 0.6898 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.465, allocations: 55.09 kB / 0.6898 GB, free: 3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006771/0.4657, allocations: 429.8 kB / 0.6902 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.4657, allocations: 24.88 kB / 0.6903 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.4658, allocations: 26.28 kB / 0.6903 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/0.4662, allocations: 209.9 kB / 0.6905 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4662, allocations: 3.938 kB / 0.6905 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.4662, allocations: 6.906 kB / 0.6905 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.4663, allocations: 4.781 kB / 0.6905 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.4667, allocations: 169.1 kB / 0.6907 GB, free: 2.391 MB / 0.5137 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.001573/0.4682, allocations: 0.9376 MB / 0.6916 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.4685, allocations: 131.9 kB / 0.6917 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.4687, allocations: 71.69 kB / 0.6918 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.469, allocations: 341.3 kB / 0.6921 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.469, allocations: 39.86 kB / 0.6921 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.469, allocations: 0 / 0.6921 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006267/0.4697, allocations: 238.2 kB / 0.6924 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.4697, allocations: 52.66 kB / 0.6924 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.4702, allocations: 486.5 kB / 0.6929 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.4703, allocations: 27.14 kB / 0.6929 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.4704, allocations: 233.6 kB / 0.6931 GB, free: 340 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.4705, allocations: 41.98 kB / 0.6932 GB, free: 304 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.4706, allocations: 62.03 kB / 0.6932 GB, free: 260 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4708, allocations: 352.2 kB / 0.6936 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.471, allocations: 76.97 kB / 0.6936 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.4712, allocations: 150.6 kB / 0.6938 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.4716, allocations: 170.1 kB / 0.6939 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4716, allocations: 0 / 0.6939 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004964/0.4721, allocations: 256.7 kB / 0.6942 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4721, allocations: 3.844 kB / 0.6942 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4721, allocations: 3.531 kB / 0.6942 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4721, allocations: 0 / 0.6942 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.4724, allocations: 42.69 kB / 0.6942 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.4724, allocations: 5.375 kB / 0.6942 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.4727, allocations: 41.78 kB / 0.6943 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.4728, allocations: 11.06 kB / 0.6943 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002879/0.473, allocations: 196.6 kB / 0.6945 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002488/0.4733, allocations: 162 kB / 0.6946 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003438/0.4737, allocations: 169.3 kB / 0.6948 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.4737, allocations: 1.781 kB / 0.6948 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005032/0.4742, allocations: 253.7 kB / 0.695 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.4742, allocations: 5.188 kB / 0.695 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.4742, allocations: 6.781 kB / 0.695 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-06/0.4742, allocations: 1.625 kB / 0.695 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.4744, allocations: 50.66 kB / 0.6951 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.4744, allocations: 2.938 kB / 0.6951 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.4748, allocations: 34.06 kB / 0.6951 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.4748, allocations: 15.3 kB / 0.6951 GB, free: 14.91 MB / 0.5294 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 0.0001204/0.4749, allocations: 197.6 kB / 0.6953 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.475, allocations: 43.16 kB / 0.6954 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/0.4755, allocations: 239.2 kB / 0.6956 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.4756, allocations: 1.375 kB / 0.6956 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4756, allocations: 3.938 kB / 0.6956 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4756, allocations: 5.312 kB / 0.6956 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.4766, allocations: 0.7124 MB / 0.6963 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4766, allocations: 1.375 kB / 0.6963 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.4767, allocations: 33.86 kB / 0.6963 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4767, allocations: 2.75 kB / 0.6963 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.4768, allocations: 6.734 kB / 0.6963 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.4768, allocations: 1.594 kB / 0.6964 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4768, allocations: 9.312 kB / 0.6964 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.4773, allocations: 344.4 kB / 0.6967 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.4774, allocations: 149.1 kB / 0.6968 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.4775, allocations: 2.469 kB / 0.6968 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.4777, allocations: 14.89 kB / 0.6968 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.4777, allocations: 10.33 kB / 0.6969 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.4778, allocations: 5.375 kB / 0.6969 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003517/0.4781, allocations: 336.7 kB / 0.6972 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4781, allocations: 0 / 0.6972 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000676/0.4788, allocations: 203.3 kB / 0.6974 GB, free: 13.25 MB / 0.5294 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.00176/0.4806, allocations: 1.242 MB / 0.6986 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000694/0.4813, allocations: 275 kB / 0.6989 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4813, allocations: 1.344 kB / 0.6989 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.4816, allocations: 84.45 kB / 0.6989 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.4826, allocations: 200.4 kB / 0.6991 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004572/0.4872, allocations: 3.337 MB / 0.7024 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.4876, allocations: 0.824 MB / 0.7032 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003675/0.488, allocations: 97.23 kB / 0.7033 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.4882, allocations: 143.4 kB / 0.7034 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of SimCode: time 7.11e-07/0.4882, allocations: 4 kB / 0.7034 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/0.5247, allocations: 12.99 MB / 0.7161 GB, free: 11.99 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/9.206, allocations: 11.92 kB / 0.7161 GB, free: 11.98 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)