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.01288/0.01288, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.002755/0.002756, allocations: 197.5 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.417/2.417, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.355/1.355, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003172/0.003172, allocations: 59.91 kB / 0.5809 GB, free: 8.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7745/0.7777, allocations: 80.21 MB / 0.6592 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.2712/1.049, allocations: 154.4 MB / 0.81 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.07363/1.123, allocations: 30.36 MB / 0.8396 GB, free: 12.92 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01062/1.133, allocations: 143.1 kB / 0.8397 GB, free: 12.78 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006024/1.14, allocations: 1.047 MB / 0.8408 GB, free: 11.73 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01733/1.157, allocations: 3.15 MB / 0.8438 GB, free: 8.562 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01127/1.168, allocations: 2.514 MB / 0.8463 GB, free: 6.09 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01441/1.183, allocations: 5.399 MB / 0.8516 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006108/1.189, allocations: 2.231 MB / 0.8537 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01027/1.199, allocations: 2.681 MB / 0.8564 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006285/1.206, allocations: 1.961 MB / 0.8583 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001001/1.207, allocations: 216 kB / 0.8585 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004662/1.211, allocations: 1.088 MB / 0.8595 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001174/1.212, allocations: 0.5565 MB / 0.8601 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003751/1.216, allocations: 1.267 MB / 0.8613 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009303/1.226, allocations: 3.347 MB / 0.8646 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/1.226, allocations: 3.938 kB / 0.8646 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.687e-06/1.226, allocations: 0 / 0.8646 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001131/1.226, allocations: 0 / 0.8646 GB, free: 3.238 MB / 0.6856 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.009814/1.236, allocations: 2.863 MB / 0.8674 GB, free: 312 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 8.305e-05/1.236, allocations: 16.03 kB / 0.8674 GB, free: 296 kB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003989/1.236, allocations: 169.4 kB / 0.8676 GB, free: 116 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5893/1.825, allocations: 280.8 kB / 0.8678 GB, free: 194.7 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006479/1.832, allocations: 1.521 MB / 0.8693 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/1.832, allocations: 110.2 kB / 0.8694 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007965/1.833, allocations: 142.1 kB / 0.8696 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005315/1.838, allocations: 1.158 MB / 0.8707 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/1.839, allocations: 0 / 0.8707 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/1.839, allocations: 50 kB / 0.8707 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-05/1.839, allocations: 27.75 kB / 0.8708 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003666/1.843, allocations: 1.013 MB / 0.8718 GB, free: 193.2 MB / 0.6856 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.01923/1.862, allocations: 6.342 MB / 0.878 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/1.864, allocations: 0.5676 MB / 0.8785 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/1.865, allocations: 384.1 kB / 0.8789 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005401/1.865, allocations: 0.5063 MB / 0.8794 GB, free: 188 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/1.865, allocations: 38 kB / 0.8794 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002621/1.868, allocations: 240.9 kB / 0.8796 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=58): time 1.491e-05/1.868, allocations: 0 / 0.8796 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=58): time 0.00463/1.873, allocations: 1.177 MB / 0.8808 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/1.873, allocations: 65.39 kB / 0.8808 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005442/1.878, allocations: 1.889 MB / 0.8827 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002538/1.879, allocations: 47.7 kB / 0.8827 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/1.88, allocations: 0.9304 MB / 0.8836 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002973/1.88, allocations: 211.8 kB / 0.8838 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009456/1.881, allocations: 302.5 kB / 0.8841 GB, free: 185 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.881, allocations: 360.1 kB / 0.8845 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/1.883, allocations: 453.2 kB / 0.8849 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/1.884, allocations: 0.6961 MB / 0.8856 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/1.887, allocations: 0.9764 MB / 0.8865 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/1.887, allocations: 1.188 kB / 0.8865 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004476/1.891, allocations: 1.44 MB / 0.8879 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/1.892, allocations: 6.312 kB / 0.888 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/1.892, allocations: 6.406 kB / 0.888 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.432e-05/1.892, allocations: 10.09 kB / 0.888 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/1.894, allocations: 290.8 kB / 0.8882 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.786e-05/1.894, allocations: 13.75 kB / 0.8883 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/1.897, allocations: 86.03 kB / 0.8883 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/1.897, allocations: 62.17 kB / 0.8884 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002193/1.899, allocations: 0.72 MB / 0.8891 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001565/1.901, allocations: 0.6655 MB / 0.8898 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002432/1.903, allocations: 0.9352 MB / 0.8907 GB, free: 181 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.918e-05/1.903, allocations: 0.875 kB / 0.8907 GB, free: 181 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.004232/1.907, allocations: 1.402 MB / 0.892 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/1.908, allocations: 6.719 kB / 0.892 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/1.908, allocations: 6.891 kB / 0.8921 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/1.908, allocations: 13.34 kB / 0.8921 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/1.91, allocations: 276.8 kB / 0.8923 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.081e-05/1.91, allocations: 11.64 kB / 0.8923 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/1.913, allocations: 96.16 kB / 0.8924 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/1.913, allocations: 60.33 kB / 0.8925 GB, free: 180.2 MB / 0.6856 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.000514/1.913, allocations: 240 kB / 0.8927 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009143/1.914, allocations: 211.9 kB / 0.8929 GB, free: 179.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003767/1.918, allocations: 1.087 MB / 0.894 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/1.918, allocations: 12.14 kB / 0.894 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.918, allocations: 7.875 kB / 0.894 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/1.918, allocations: 5.516 kB / 0.894 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007266/1.925, allocations: 2.435 MB / 0.8964 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/1.925, allocations: 2.719 kB / 0.8964 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/1.926, allocations: 139.7 kB / 0.8965 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.649e-05/1.926, allocations: 4.125 kB / 0.8965 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.357e-05/1.927, allocations: 17.09 kB / 0.8965 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.544e-05/1.927, allocations: 5.5 kB / 0.8965 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.927, allocations: 9.297 kB / 0.8966 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/1.93, allocations: 1.083 MB / 0.8976 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.931, allocations: 368.2 kB / 0.898 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007019/1.932, allocations: 18.38 kB / 0.898 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/1.933, allocations: 35.08 kB / 0.898 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/1.933, allocations: 51.31 kB / 0.8981 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.532e-05/1.934, allocations: 25.86 kB / 0.8981 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003476/1.937, allocations: 1.248 MB / 0.8993 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/1.937, allocations: 0 / 0.8993 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005148/1.942, allocations: 0.9166 MB / 0.9002 GB, free: 175.7 MB / 0.6856 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.004087/1.946, allocations: 1.872 MB / 0.902 GB, free: 174.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005122/1.951, allocations: 1.652 MB / 0.9036 GB, free: 173.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.952, allocations: 3.938 kB / 0.9036 GB, free: 173.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.953, allocations: 417.4 kB / 0.904 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008796/1.961, allocations: 1.082 MB / 0.9051 GB, free: 173 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03324/1.995, allocations: 13.16 MB / 0.918 GB, free: 162.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.996, allocations: 1.413 MB / 0.9193 GB, free: 161.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002664/1.999, allocations: 401.6 kB / 0.9197 GB, free: 161.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/2, allocations: 0.8351 MB / 0.9205 GB, free: 160.2 MB / 0.6856 GB Notification: Performance of SimCode: time 1.193e-06/2, allocations: 0 / 0.9205 GB, free: 160.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1446/2.145, allocations: 56.09 MB / 0.9753 GB, free: 104.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.22/22.37, allocations: 9.312 kB / 0.9753 GB, free: 104.8 MB / 0.6856 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)