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.004968/0.004968, allocations: 104.8 kB / 15.74 MB, free: 6.02 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.001145/0.001145, allocations: 191.2 kB / 16.68 MB, free: 5.938 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.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7356/0.7356, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.25 kB / 0.5809 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1362, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4771/0.6134, allocations: 154.4 MB / 0.8099 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03597/0.6494, allocations: 30.37 MB / 0.8396 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007111/0.6565, allocations: 142.9 kB / 0.8397 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003457/0.6601, allocations: 1.046 MB / 0.8408 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009161/0.6692, allocations: 3.324 MB / 0.844 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005725/0.675, allocations: 2.513 MB / 0.8465 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00697/0.682, allocations: 5.393 MB / 0.8517 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00292/0.6849, allocations: 2.233 MB / 0.8539 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005575/0.6905, allocations: 2.77 MB / 0.8566 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002927/0.6934, allocations: 1.961 MB / 0.8585 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003152/0.6937, allocations: 212 kB / 0.8587 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.6959, allocations: 1.092 MB / 0.8598 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004859/0.6964, allocations: 0.5526 MB / 0.8603 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.6977, allocations: 1.263 MB / 0.8616 GB, free: 132 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003771/0.7015, allocations: 3.348 MB / 0.8648 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7015, allocations: 0 / 0.8648 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7015, allocations: 0 / 0.8648 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.607e-05/0.7015, allocations: 4 kB / 0.8648 GB, free: 12.77 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.004514/0.7061, allocations: 2.863 MB / 0.8676 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.7061, allocations: 8.031 kB / 0.8676 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001971/0.7063, allocations: 181.4 kB / 0.8678 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003972/0.7067, allocations: 278.2 kB / 0.8681 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.709, allocations: 1.537 MB / 0.8696 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-05/0.7091, allocations: 102.3 kB / 0.8697 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.7093, allocations: 136 kB / 0.8698 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.7112, allocations: 1.167 MB / 0.871 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.7112, allocations: 0 / 0.871 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.7113, allocations: 48 kB / 0.871 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.7114, allocations: 28 kB / 0.871 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.713, allocations: 1.013 MB / 0.872 GB, free: 5.238 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.008747/0.7218, allocations: 6.332 MB / 0.8782 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008988/0.7227, allocations: 0.5713 MB / 0.8788 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005748/0.7233, allocations: 390.3 kB / 0.8791 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003778/0.7237, allocations: 0.5031 MB / 0.8796 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.7237, allocations: 43.05 kB / 0.8797 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001192/0.7249, allocations: 243.2 kB / 0.8799 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 2.465e-06/0.7249, allocations: 0 / 0.8799 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.001921/0.7269, allocations: 1.173 MB / 0.881 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.7269, allocations: 63.97 kB / 0.8811 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.729, allocations: 1.896 MB / 0.883 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.004e-05/0.7291, allocations: 45.7 kB / 0.883 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006815/0.7298, allocations: 0.9198 MB / 0.8839 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.7299, allocations: 222.1 kB / 0.8841 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004014/0.7303, allocations: 302.7 kB / 0.8844 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7305, allocations: 353.9 kB / 0.8847 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007609/0.7313, allocations: 453.9 kB / 0.8852 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009901/0.7323, allocations: 0.6927 MB / 0.8858 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.7338, allocations: 0.9813 MB / 0.8868 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.7338, allocations: 0 / 0.8868 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002319/0.7361, allocations: 1.441 MB / 0.8882 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.7361, allocations: 10.19 kB / 0.8882 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7361, allocations: 4 kB / 0.8882 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.7362, allocations: 11.94 kB / 0.8882 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.7374, allocations: 291.5 kB / 0.8885 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.7374, allocations: 8 kB / 0.8885 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.7387, allocations: 84.03 kB / 0.8886 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.7389, allocations: 59.94 kB / 0.8887 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001198/0.7401, allocations: 0.7212 MB / 0.8894 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009831/0.741, allocations: 0.6878 MB / 0.89 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001425/0.7425, allocations: 0.9305 MB / 0.8909 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/0.7425, allocations: 4 kB / 0.8909 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002167/0.7447, allocations: 1.382 MB / 0.8923 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.7447, allocations: 4.375 kB / 0.8923 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.7447, allocations: 11.94 kB / 0.8923 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.7447, allocations: 8 kB / 0.8923 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.7458, allocations: 291.5 kB / 0.8926 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.7459, allocations: 11.94 kB / 0.8926 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.7472, allocations: 91.91 kB / 0.8927 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.784e-05/0.7473, allocations: 59.95 kB / 0.8927 GB, free: 15.07 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.0002553/0.7476, allocations: 243.9 kB / 0.893 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.7478, allocations: 210.6 kB / 0.8932 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.7497, allocations: 1.09 MB / 0.8942 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.7497, allocations: 11.94 kB / 0.8943 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7497, allocations: 0 / 0.8943 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.7497, allocations: 3.984 kB / 0.8943 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.753, allocations: 2.441 MB / 0.8966 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.753, allocations: 0 / 0.8966 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/0.7535, allocations: 144 kB / 0.8968 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.7536, allocations: 4 kB / 0.8968 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.7536, allocations: 19.98 kB / 0.8968 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/0.7536, allocations: 4 kB / 0.8968 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.7536, allocations: 4 kB / 0.8968 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.755, allocations: 1.083 MB / 0.8979 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004796/0.7555, allocations: 367.5 kB / 0.8982 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.7557, allocations: 12 kB / 0.8982 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007482/0.7564, allocations: 47.89 kB / 0.8983 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.7565, allocations: 48.53 kB / 0.8983 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.7566, allocations: 31.98 kB / 0.8984 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001433/0.758, allocations: 1.248 MB / 0.8996 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.758, allocations: 0 / 0.8996 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001698/0.7597, allocations: 0.9125 MB / 0.9005 GB, free: 6.992 MB / 0.6544 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.002128/0.7619, allocations: 1.862 MB / 0.9023 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002472/0.7644, allocations: 1.658 MB / 0.9039 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7644, allocations: 0 / 0.9039 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005671/0.7649, allocations: 420 kB / 0.9043 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003945/0.7689, allocations: 1.093 MB / 0.9054 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/0.7855, allocations: 13.16 MB / 0.9182 GB, free: 4.504 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009462/0.7865, allocations: 1.405 MB / 0.9196 GB, free: 3.062 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001543/0.788, allocations: 404.3 kB / 0.92 GB, free: 2.668 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00099/0.789, allocations: 0.8298 MB / 0.9208 GB, free: 1.84 MB / 0.67 GB Notification: Performance of SimCode: time 7.52e-07/0.789, allocations: 0 / 0.9208 GB, free: 1.84 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09316/0.8822, allocations: 56.09 MB / 0.9756 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.78, allocations: 10.92 kB / 0.9756 GB, free: 10.29 MB / 0.7325 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)