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.006898/0.006898, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001203/0.001203, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8002/0.8002, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 67.83 kB / 0.5851 GB, free: 22.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1533, allocations: 80.93 MB / 0.6642 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4471/0.6004, allocations: 154.4 MB / 0.8149 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03796/0.6384, allocations: 30.36 MB / 0.8446 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005089/0.6435, allocations: 141.5 kB / 0.8447 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003633/0.6472, allocations: 1.05 MB / 0.8457 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008947/0.6562, allocations: 3.323 MB / 0.849 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006049/0.6622, allocations: 2.516 MB / 0.8514 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007507/0.6698, allocations: 5.404 MB / 0.8567 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00347/0.6733, allocations: 2.233 MB / 0.8589 GB, free: 160 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00567/0.679, allocations: 2.755 MB / 0.8616 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003396/0.6824, allocations: 1.961 MB / 0.8635 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008893/0.6833, allocations: 212 kB / 0.8637 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/0.6862, allocations: 1.088 MB / 0.8648 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000888/0.6872, allocations: 0.5603 MB / 0.8653 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002491/0.6897, allocations: 1.267 MB / 0.8665 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00596/0.6956, allocations: 3.344 MB / 0.8698 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.6957, allocations: 4 kB / 0.8698 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.562e-06/0.6957, allocations: 3.938 kB / 0.8698 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001358/0.6958, allocations: 0 / 0.8698 GB, free: 4.93 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.006644/0.7025, allocations: 2.863 MB / 0.8726 GB, free: 2 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.7025, allocations: 9.109 kB / 0.8726 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003983/0.703, allocations: 177.4 kB / 0.8728 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000711/0.7037, allocations: 278.3 kB / 0.8731 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003345/0.707, allocations: 1.529 MB / 0.8745 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.7072, allocations: 106.3 kB / 0.8746 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/0.7076, allocations: 140 kB / 0.8748 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.7103, allocations: 1.167 MB / 0.8759 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.7103, allocations: 3.984 kB / 0.8759 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.7105, allocations: 44 kB / 0.876 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.7105, allocations: 28 kB / 0.876 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.7125, allocations: 1.016 MB / 0.877 GB, free: 13.39 MB / 0.6387 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.01095/0.7234, allocations: 6.332 MB / 0.8832 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.7245, allocations: 0.5698 MB / 0.8837 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006236/0.7252, allocations: 393.5 kB / 0.8841 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004161/0.7256, allocations: 0.5031 MB / 0.8846 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.7257, allocations: 39.12 kB / 0.8846 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001472/0.7272, allocations: 239.3 kB / 0.8849 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 4.579e-06/0.7272, allocations: 0 / 0.8849 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.002434/0.7296, allocations: 1.177 MB / 0.886 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.7297, allocations: 59.91 kB / 0.8861 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/0.7324, allocations: 1.896 MB / 0.8879 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.7326, allocations: 49.7 kB / 0.888 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007707/0.7333, allocations: 0.9276 MB / 0.8889 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.7335, allocations: 218.1 kB / 0.8891 GB, free: 368 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004808/0.734, allocations: 302.7 kB / 0.8894 GB, free: 60 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7342, allocations: 349.9 kB / 0.8897 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008235/0.735, allocations: 457.9 kB / 0.8901 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.7361, allocations: 0.6995 MB / 0.8908 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.7377, allocations: 0.9852 MB / 0.8918 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.7377, allocations: 0 / 0.8918 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002752/0.7404, allocations: 1.437 MB / 0.8932 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.7405, allocations: 7.984 kB / 0.8932 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.7405, allocations: 4 kB / 0.8932 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.7405, allocations: 11.94 kB / 0.8932 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.7418, allocations: 291.5 kB / 0.8935 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.7419, allocations: 11.94 kB / 0.8935 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.7435, allocations: 79.92 kB / 0.8936 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.7437, allocations: 67.94 kB / 0.8936 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001399/0.7451, allocations: 0.7134 MB / 0.8943 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001009/0.7461, allocations: 0.6645 MB / 0.895 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00153/0.7477, allocations: 0.9344 MB / 0.8959 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/0.7477, allocations: 4 kB / 0.8959 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002733/0.7504, allocations: 1.386 MB / 0.8973 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.7505, allocations: 8 kB / 0.8973 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.7505, allocations: 384 / 0.8973 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.7505, allocations: 16 kB / 0.8973 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.7518, allocations: 283.5 kB / 0.8975 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/0.7518, allocations: 15.88 kB / 0.8976 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.7536, allocations: 99.84 kB / 0.8977 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.7537, allocations: 59.95 kB / 0.8977 GB, free: 7.238 MB / 0.6544 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.0003132/0.754, allocations: 236 kB / 0.8979 GB, free: 7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004632/0.7545, allocations: 214.5 kB / 0.8981 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.7567, allocations: 1.092 MB / 0.8992 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.7567, allocations: 11.94 kB / 0.8992 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.7567, allocations: 0 / 0.8992 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.7568, allocations: 3.984 kB / 0.8992 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00385/0.7606, allocations: 2.441 MB / 0.9016 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.7606, allocations: 4 kB / 0.9016 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/0.7613, allocations: 139.8 kB / 0.9017 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.7613, allocations: 12.19 kB / 0.9018 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.7613, allocations: 19.98 kB / 0.9018 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.7614, allocations: 4 kB / 0.9018 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7614, allocations: 0 / 0.9018 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.7629, allocations: 1.087 MB / 0.9028 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006535/0.7636, allocations: 367.5 kB / 0.9032 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.7639, allocations: 16 kB / 0.9032 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008944/0.7648, allocations: 39.95 kB / 0.9032 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.7649, allocations: 52.47 kB / 0.9033 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/0.765, allocations: 27.98 kB / 0.9033 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001757/0.7667, allocations: 1.244 MB / 0.9045 GB, free: 76 kB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7668, allocations: 0 / 0.9045 GB, free: 76 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002292/0.769, allocations: 0.9202 MB / 0.9054 GB, free: 15.15 MB / 0.67 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.002436/0.7715, allocations: 1.865 MB / 0.9073 GB, free: 13.26 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002953/0.7745, allocations: 1.652 MB / 0.9089 GB, free: 11.61 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.7745, allocations: 0 / 0.9089 GB, free: 11.61 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006442/0.7751, allocations: 409 kB / 0.9093 GB, free: 11.21 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004685/0.7798, allocations: 1.091 MB / 0.9103 GB, free: 10.14 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/0.7996, allocations: 13.16 MB / 0.9232 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.8007, allocations: 1.405 MB / 0.9245 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001786/0.8025, allocations: 397.5 kB / 0.9249 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/0.8037, allocations: 0.8273 MB / 0.9257 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of SimCode: time 7.41e-07/0.8037, allocations: 0 / 0.9257 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09265/0.8963, allocations: 56.11 MB / 0.9805 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.84, allocations: 6.188 kB / 0.9805 GB, free: 2.469 MB / 0.7325 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)