Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.001133/0.001133, 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.001087/0.001087, allocations: 194.7 kB / 16.53 MB, free: 6.656 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7317/0.7317, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.62 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3556, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1349/0.4905, allocations: 154.4 MB / 0.731 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03974/0.5303, allocations: 30.36 MB / 0.7606 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00454/0.5349, allocations: 139.1 kB / 0.7607 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002437/0.5374, allocations: 1.036 MB / 0.7617 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007156/0.5445, allocations: 3.169 MB / 0.7648 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005169/0.5497, allocations: 2.457 MB / 0.7672 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005999/0.5557, allocations: 5.361 MB / 0.7725 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.5585, allocations: 2.244 MB / 0.7747 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004545/0.563, allocations: 2.677 MB / 0.7773 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/0.5657, allocations: 1.965 MB / 0.7792 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003797/0.5661, allocations: 216 kB / 0.7794 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.5684, allocations: 1.088 MB / 0.7805 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004876/0.5689, allocations: 0.5525 MB / 0.781 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.5702, allocations: 1.271 MB / 0.7823 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003409/0.5736, allocations: 3.279 MB / 0.7855 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.5736, allocations: 0 / 0.7855 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5736, allocations: 0 / 0.7855 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.507e-05/0.5736, allocations: 0 / 0.7855 GB, free: 14.75 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004404/0.578, allocations: 2.795 MB / 0.7882 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.5781, allocations: 12.03 kB / 0.7882 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001923/0.5783, allocations: 173.4 kB / 0.7884 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003788/0.5787, allocations: 264.8 kB / 0.7886 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00198/0.5807, allocations: 1.442 MB / 0.79 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/0.5807, allocations: 106.3 kB / 0.7901 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.5809, allocations: 139.9 kB / 0.7903 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.5828, allocations: 1.167 MB / 0.7914 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.5829, allocations: 0 / 0.7914 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.93e-05/0.583, allocations: 44 kB / 0.7914 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.583, allocations: 28 kB / 0.7915 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.5848, allocations: 1.013 MB / 0.7925 GB, free: 7.395 MB / 0.6231 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.008714/0.5935, allocations: 6.365 MB / 0.7987 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009116/0.5944, allocations: 0.5689 MB / 0.7992 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005751/0.595, allocations: 386.3 kB / 0.7996 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003716/0.5954, allocations: 0.5031 MB / 0.8001 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.5954, allocations: 43.12 kB / 0.8001 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001058/0.5965, allocations: 230.8 kB / 0.8003 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 2.605e-06/0.5965, allocations: 4 kB / 0.8003 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.002036/0.5986, allocations: 1.164 MB / 0.8015 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.5986, allocations: 55.97 kB / 0.8015 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.6007, allocations: 1.892 MB / 0.8034 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.557e-05/0.6008, allocations: 49.7 kB / 0.8034 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006954/0.6015, allocations: 0.9223 MB / 0.8043 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.6017, allocations: 205 kB / 0.8045 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000399/0.6021, allocations: 306.6 kB / 0.8048 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6022, allocations: 345.9 kB / 0.8052 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007914/0.603, allocations: 453.9 kB / 0.8056 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009768/0.604, allocations: 0.6973 MB / 0.8063 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.6056, allocations: 0.9774 MB / 0.8072 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6056, allocations: 0 / 0.8072 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00235/0.6079, allocations: 1.431 MB / 0.8086 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.608, allocations: 4 kB / 0.8086 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.608, allocations: 4 kB / 0.8086 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.608, allocations: 12.31 kB / 0.8086 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.6093, allocations: 295.5 kB / 0.8089 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.6093, allocations: 15.92 kB / 0.8089 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.6106, allocations: 95.7 kB / 0.809 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.6107, allocations: 63.95 kB / 0.8091 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001161/0.6119, allocations: 0.7173 MB / 0.8098 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009642/0.6129, allocations: 0.6645 MB / 0.8104 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001486/0.6144, allocations: 0.9383 MB / 0.8114 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.6144, allocations: 0 / 0.8114 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002204/0.6166, allocations: 1.381 MB / 0.8127 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.6166, allocations: 8 kB / 0.8127 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.6166, allocations: 0 / 0.8127 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.6166, allocations: 15.94 kB / 0.8127 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.6178, allocations: 283.5 kB / 0.813 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.6178, allocations: 8.375 kB / 0.813 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.6191, allocations: 91.91 kB / 0.8131 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-05/0.6193, allocations: 59.95 kB / 0.8131 GB, free: 1.254 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * 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.0002516/0.6195, allocations: 244 kB / 0.8134 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.6198, allocations: 201.4 kB / 0.8136 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2346/0.8543, allocations: 1.097 MB / 0.8146 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.8544, allocations: 8.469 kB / 0.8147 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.8544, allocations: 1.062 kB / 0.8147 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.8544, allocations: 4.188 kB / 0.8147 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00389/0.8583, allocations: 2.446 MB / 0.817 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.8584, allocations: 2.219 kB / 0.817 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/0.859, allocations: 131.7 kB / 0.8172 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.859, allocations: 5.781 kB / 0.8172 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.859, allocations: 18.75 kB / 0.8172 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.859, allocations: 5.781 kB / 0.8172 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.8591, allocations: 5.359 kB / 0.8172 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.8605, allocations: 1.073 MB / 0.8183 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/0.861, allocations: 360.9 kB / 0.8186 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.8612, allocations: 17.41 kB / 0.8186 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008002/0.862, allocations: 33.39 kB / 0.8186 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.8621, allocations: 54.34 kB / 0.8187 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.8622, allocations: 23.72 kB / 0.8187 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00164/0.8638, allocations: 1.251 MB / 0.8199 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8639, allocations: 0 / 0.8199 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001967/0.8658, allocations: 0.9086 MB / 0.8208 GB, free: 215.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002071/0.8679, allocations: 1.865 MB / 0.8227 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00297/0.8709, allocations: 1.696 MB / 0.8243 GB, free: 214 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8709, allocations: 1.031 kB / 0.8243 GB, free: 214 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.8715, allocations: 413.9 kB / 0.8247 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004291/0.8758, allocations: 1.081 MB / 0.8258 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/0.8939, allocations: 15.13 MB / 0.8405 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007333/0.8946, allocations: 1.403 MB / 0.8419 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001796/0.8964, allocations: 411.5 kB / 0.8423 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008361/0.8973, allocations: 0.8295 MB / 0.8431 GB, free: 203 MB / 0.6387 GB Notification: Performance of SimCode: time 8.91e-07/0.8973, allocations: 0 / 0.8431 GB, free: 203 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06674/0.964, allocations: 55.6 MB / 0.8974 GB, free: 151.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/9.44, allocations: 5.609 kB / 0.8974 GB, free: 151.1 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)