Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_dev_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.001074/0.001074, allocations: 108 kB / 15.61 MB, free: 152 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.001177/0.001177, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8843/0.8843, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 56.28 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1364, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.3615/0.498, allocations: 154.4 MB / 0.7352 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03977/0.5378, allocations: 30.37 MB / 0.7649 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005211/0.543, allocations: 143.1 kB / 0.765 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003111/0.5462, allocations: 1.044 MB / 0.766 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.5565, allocations: 3.154 MB / 0.7691 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00618/0.5627, allocations: 2.471 MB / 0.7715 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007389/0.5701, allocations: 5.364 MB / 0.7768 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003865/0.574, allocations: 2.232 MB / 0.7789 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005581/0.5796, allocations: 2.677 MB / 0.7816 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003298/0.5829, allocations: 1.957 MB / 0.7835 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007503/0.5837, allocations: 212 kB / 0.7837 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.5867, allocations: 1.084 MB / 0.7847 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008471/0.5876, allocations: 0.5526 MB / 0.7853 GB, free: 332 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002222/0.5898, allocations: 1.267 MB / 0.7865 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005039/0.5949, allocations: 3.286 MB / 0.7897 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5949, allocations: 0 / 0.7897 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.206e-06/0.5949, allocations: 0 / 0.7897 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001156/0.595, allocations: 3.938 kB / 0.7897 GB, free: 11.75 MB / 0.6075 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.0054/0.6004, allocations: 2.788 MB / 0.7924 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.6005, allocations: 8.031 kB / 0.7924 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001878/0.6007, allocations: 181.4 kB / 0.7926 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004283/0.6011, allocations: 264.8 kB / 0.7929 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.6031, allocations: 1.449 MB / 0.7943 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.278e-05/0.6032, allocations: 102.3 kB / 0.7944 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.6034, allocations: 140 kB / 0.7945 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.6052, allocations: 1.163 MB / 0.7957 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.6053, allocations: 0 / 0.7957 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-05/0.6054, allocations: 44 kB / 0.7957 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.6054, allocations: 31.94 kB / 0.7957 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.6071, allocations: 1.02 MB / 0.7967 GB, free: 4.391 MB / 0.6075 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.009103/0.6162, allocations: 6.368 MB / 0.8029 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000918/0.6171, allocations: 0.5719 MB / 0.8035 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/0.6177, allocations: 387.4 kB / 0.8039 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003703/0.6181, allocations: 0.5031 MB / 0.8044 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.6181, allocations: 35.12 kB / 0.8044 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001208/0.6193, allocations: 226.9 kB / 0.8046 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 3.787e-06/0.6193, allocations: 0 / 0.8046 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.002014/0.6214, allocations: 1.168 MB / 0.8057 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.6214, allocations: 71.84 kB / 0.8058 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.6235, allocations: 1.896 MB / 0.8077 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.439e-05/0.6236, allocations: 45.7 kB / 0.8077 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006665/0.6243, allocations: 0.9185 MB / 0.8086 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.6245, allocations: 201.1 kB / 0.8088 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/0.6249, allocations: 302.5 kB / 0.8091 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.625, allocations: 357.9 kB / 0.8094 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007747/0.6258, allocations: 453.9 kB / 0.8099 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009969/0.6268, allocations: 0.6967 MB / 0.8105 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.6283, allocations: 0.9813 MB / 0.8115 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.6283, allocations: 0 / 0.8115 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00258/0.6309, allocations: 1.432 MB / 0.8129 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.631, allocations: 8 kB / 0.8129 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.631, allocations: 4 kB / 0.8129 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.631, allocations: 8 kB / 0.8129 GB, free: 3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.6322, allocations: 287.5 kB / 0.8132 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.6323, allocations: 19.92 kB / 0.8132 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.6339, allocations: 81.42 kB / 0.8133 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.634, allocations: 67.94 kB / 0.8134 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001278/0.6353, allocations: 0.7212 MB / 0.8141 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009396/0.6362, allocations: 0.6615 MB / 0.8147 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001372/0.6376, allocations: 0.9344 MB / 0.8156 GB, free: 116 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/0.6376, allocations: 0 / 0.8156 GB, free: 116 kB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002505/0.6401, allocations: 1.377 MB / 0.817 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.6402, allocations: 4.375 kB / 0.817 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6402, allocations: 8 kB / 0.817 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.6402, allocations: 8 kB / 0.817 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.6414, allocations: 283.5 kB / 0.8173 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.6414, allocations: 19.88 kB / 0.8173 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.643, allocations: 99.8 kB / 0.8174 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.335e-05/0.6431, allocations: 59.95 kB / 0.8174 GB, free: 14.25 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.0002826/0.6434, allocations: 247.9 kB / 0.8177 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/0.6437, allocations: 201.4 kB / 0.8179 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.6458, allocations: 1.09 MB / 0.8189 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.6458, allocations: 11.94 kB / 0.8189 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6458, allocations: 0 / 0.8189 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.6458, allocations: 3.984 kB / 0.8189 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.6492, allocations: 2.437 MB / 0.8213 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6493, allocations: 0 / 0.8213 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/0.6499, allocations: 135.8 kB / 0.8214 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.6499, allocations: 4 kB / 0.8214 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/0.6499, allocations: 19.98 kB / 0.8215 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.65, allocations: 4 kB / 0.8215 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.65, allocations: 12.12 kB / 0.8215 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.6515, allocations: 1.07 MB / 0.8225 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000524/0.652, allocations: 354.3 kB / 0.8229 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.6522, allocations: 19.98 kB / 0.8229 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007837/0.653, allocations: 31.97 kB / 0.8229 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.6532, allocations: 60.52 kB / 0.823 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.6532, allocations: 27.94 kB / 0.823 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001522/0.6547, allocations: 1.248 MB / 0.8242 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6548, allocations: 3.938 kB / 0.8242 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001925/0.6567, allocations: 0.9082 MB / 0.8251 GB, free: 6.227 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.00224/0.6589, allocations: 1.845 MB / 0.8269 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003045/0.662, allocations: 1.7 MB / 0.8286 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.662, allocations: 0 / 0.8286 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.6626, allocations: 419.5 kB / 0.829 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004888/0.6675, allocations: 1.089 MB / 0.83 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/0.6873, allocations: 15.14 MB / 0.8448 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008578/0.6882, allocations: 1.409 MB / 0.8462 GB, free: 15.42 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001825/0.6901, allocations: 407.7 kB / 0.8466 GB, free: 15.02 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009954/0.6911, allocations: 0.8273 MB / 0.8474 GB, free: 14.2 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/0.6911, allocations: 0 / 0.8474 GB, free: 14.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3056/0.9967, allocations: 55.6 MB / 0.9017 GB, free: 210.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/9.487, allocations: 5.438 kB / 0.9017 GB, free: 210.6 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)