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.004487/0.004487, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001263/0.001263, allocations: 198.6 kB / 16.68 MB, free: 5.973 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9618/0.9618, allocations: 135.6 MB / 426.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.89 kB / 0.5858 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3625, allocations: 81.02 MB / 0.6649 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01509/0.3776, allocations: 15.54 MB / 0.68 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006617/0.3843, allocations: 4.339 MB / 0.6843 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004143/0.3847, allocations: 17.03 kB / 0.6843 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008464/0.3856, allocations: 264.5 kB / 0.6846 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.3869, allocations: 0.6049 MB / 0.6851 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.3886, allocations: 0.7074 MB / 0.6858 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.3899, allocations: 1.035 MB / 0.6868 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004692/0.3904, allocations: 335 kB / 0.6872 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000649/0.3911, allocations: 413 kB / 0.6876 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000439/0.3915, allocations: 339 kB / 0.6879 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.026e-05/0.3916, allocations: 27.75 kB / 0.6879 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.3926, allocations: 0.6201 MB / 0.6885 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.3928, allocations: 107.8 kB / 0.6886 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.393, allocations: 223 kB / 0.6888 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.3941, allocations: 0.7741 MB / 0.6896 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3941, allocations: 0 / 0.6896 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3941, allocations: 0 / 0.6896 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.3941, allocations: 0 / 0.6896 GB, free: 3.336 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.001267/0.3954, allocations: 0.8541 MB / 0.6904 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3955, allocations: 13.34 kB / 0.6904 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.425e-05/0.3955, allocations: 54.27 kB / 0.6905 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.3956, allocations: 55.02 kB / 0.6905 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.3963, allocations: 442.8 kB / 0.691 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.3964, allocations: 20.69 kB / 0.691 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.3964, allocations: 26.38 kB / 0.691 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.3969, allocations: 209.1 kB / 0.6912 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3969, allocations: 5.188 kB / 0.6912 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.3969, allocations: 9.062 kB / 0.6912 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.3969, allocations: 5.969 kB / 0.6912 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.3973, allocations: 173.6 kB / 0.6914 GB, free: 1.891 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.001601/0.399, allocations: 0.9417 MB / 0.6923 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.3993, allocations: 134.9 kB / 0.6924 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.3994, allocations: 68.56 kB / 0.6925 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000302/0.3997, allocations: 333 kB / 0.6928 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.3998, allocations: 43.47 kB / 0.6929 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.3998, allocations: 0 / 0.6929 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006394/0.4004, allocations: 241.9 kB / 0.6931 GB, free: 432 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.4005, allocations: 53.66 kB / 0.6931 GB, free: 368 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/0.401, allocations: 477.8 kB / 0.6936 GB, free: 76 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.401, allocations: 32.27 kB / 0.6936 GB, free: 40 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.4013, allocations: 226.1 kB / 0.6938 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.4013, allocations: 52.69 kB / 0.6939 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.4014, allocations: 57.91 kB / 0.6939 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.4016, allocations: 353.5 kB / 0.6943 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.4018, allocations: 76.56 kB / 0.6944 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.4021, allocations: 160.2 kB / 0.6945 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.4025, allocations: 171.1 kB / 0.6947 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4025, allocations: 3.938 kB / 0.6947 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005157/0.403, allocations: 246.5 kB / 0.6949 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.403, allocations: 9.391 kB / 0.6949 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.403, allocations: 1.781 kB / 0.6949 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.403, allocations: 1.844 kB / 0.6949 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.4033, allocations: 51 kB / 0.695 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4033, allocations: 1.594 kB / 0.695 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.4036, allocations: 36.83 kB / 0.695 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.4036, allocations: 11.89 kB / 0.695 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002923/0.4039, allocations: 188.5 kB / 0.6952 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002534/0.4042, allocations: 164.8 kB / 0.6954 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003415/0.4046, allocations: 167.7 kB / 0.6955 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.4046, allocations: 0 / 0.6955 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005163/0.4051, allocations: 258.7 kB / 0.6958 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/0.4051, allocations: 5.625 kB / 0.6958 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-06/0.4051, allocations: 1.5 kB / 0.6958 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/0.4051, allocations: 2.969 kB / 0.6958 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.4053, allocations: 43.38 kB / 0.6958 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4054, allocations: 9.781 kB / 0.6958 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.4057, allocations: 33.98 kB / 0.6959 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.4057, allocations: 15.84 kB / 0.6959 GB, free: 14.41 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.0001218/0.4059, allocations: 190.2 kB / 0.6961 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.4059, allocations: 42.94 kB / 0.6961 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/0.4065, allocations: 261.5 kB / 0.6963 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.4065, allocations: 5.203 kB / 0.6964 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4065, allocations: 1.094 kB / 0.6964 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.4065, allocations: 3.938 kB / 0.6964 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.4076, allocations: 0.7095 MB / 0.697 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4076, allocations: 1.375 kB / 0.697 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.4077, allocations: 33.86 kB / 0.6971 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4077, allocations: 1.562 kB / 0.6971 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4078, allocations: 6.75 kB / 0.6971 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.4078, allocations: 10.73 kB / 0.6971 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4078, allocations: 1.375 kB / 0.6971 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.4083, allocations: 345.8 kB / 0.6974 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.4084, allocations: 145.2 kB / 0.6976 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.4085, allocations: 2.75 kB / 0.6976 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.4087, allocations: 18.86 kB / 0.6976 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.4088, allocations: 14.86 kB / 0.6976 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.4088, allocations: 5.5 kB / 0.6976 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000374/0.4092, allocations: 332.3 kB / 0.6979 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4092, allocations: 0 / 0.6979 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006226/0.4098, allocations: 206.5 kB / 0.6981 GB, free: 12.73 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.002245/0.4121, allocations: 1.253 MB / 0.6993 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006483/0.4127, allocations: 280.8 kB / 0.6996 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4127, allocations: 0 / 0.6996 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.4129, allocations: 80.67 kB / 0.6997 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.414, allocations: 201.7 kB / 0.6999 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.4185, allocations: 3.351 MB / 0.7032 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.419, allocations: 0.823 MB / 0.704 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002602/0.4193, allocations: 83.58 kB / 0.704 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.4195, allocations: 143.4 kB / 0.7042 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.4195, allocations: 0 / 0.7042 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.4567, allocations: 12.83 MB / 0.7167 GB, free: 11.36 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.655/9.112, allocations: 4.891 kB / 0.7167 GB, free: 11.36 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)