Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.006079/0.006079, allocations: 97.81 kB / 15.73 MB, free: 6.004 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.001431/0.001431, allocations: 195 kB / 16.67 MB, free: 5.934 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7116/0.7116, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 59.44 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1427, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02936/0.1721, allocations: 30.74 MB / 0.6892 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.1844, allocations: 10.85 MB / 0.6998 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000982/0.1854, allocations: 23.81 kB / 0.6998 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.1865, allocations: 401.3 kB / 0.7002 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.189, allocations: 1.199 MB / 0.7014 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.191, allocations: 0.8614 MB / 0.7022 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001988/0.193, allocations: 2.061 MB / 0.7043 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007559/0.1937, allocations: 0.6897 MB / 0.7049 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.1952, allocations: 1.004 MB / 0.7059 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000717/0.1959, allocations: 0.669 MB / 0.7066 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.906e-05/0.196, allocations: 56 kB / 0.7066 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009845/0.197, allocations: 0.6161 MB / 0.7072 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1971, allocations: 163.2 kB / 0.7074 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003518/0.1975, allocations: 433.7 kB / 0.7078 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.1987, allocations: 1.105 MB / 0.7089 GB, free: 10.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1987, allocations: 4 kB / 0.7089 GB, free: 10.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1987, allocations: 0 / 0.7089 GB, free: 10.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.1987, allocations: 0 / 0.7089 GB, free: 10.97 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.00162/0.2003, allocations: 1.194 MB / 0.71 GB, free: 9.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2004, allocations: 11.97 kB / 0.71 GB, free: 9.715 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.757e-05/0.2005, allocations: 90.7 kB / 0.7101 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.2006, allocations: 104.1 kB / 0.7102 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.2014, allocations: 0.589 MB / 0.7108 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.2015, allocations: 45 kB / 0.7108 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.2016, allocations: 52 kB / 0.7109 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.2022, allocations: 414.4 kB / 0.7113 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2023, allocations: 0 / 0.7113 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.2023, allocations: 16 kB / 0.7113 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2023, allocations: 12 kB / 0.7113 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000571/0.2029, allocations: 307.8 kB / 0.7116 GB, free: 8.055 MB / 0.545 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.00253/0.2054, allocations: 1.858 MB / 0.7134 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.2058, allocations: 170.4 kB / 0.7136 GB, free: 5.867 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.206, allocations: 92.8 kB / 0.7137 GB, free: 5.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/0.2062, allocations: 336.5 kB / 0.714 GB, free: 5.371 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.2063, allocations: 30.56 kB / 0.714 GB, free: 5.332 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.2063, allocations: 0 / 0.714 GB, free: 5.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0006719/0.2069, allocations: 315.7 kB / 0.7143 GB, free: 5.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.207, allocations: 59.41 kB / 0.7144 GB, free: 4.949 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007085/0.2077, allocations: 0.6843 MB / 0.7151 GB, free: 4.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.2077, allocations: 29.7 kB / 0.7151 GB, free: 4.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.208, allocations: 369.1 kB / 0.7154 GB, free: 3.852 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.208, allocations: 71.38 kB / 0.7155 GB, free: 3.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.2082, allocations: 98 kB / 0.7156 GB, free: 3.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2083, allocations: 378.7 kB / 0.716 GB, free: 3.301 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.2086, allocations: 114.3 kB / 0.7161 GB, free: 3.188 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.2089, allocations: 180.6 kB / 0.7162 GB, free: 2.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.2093, allocations: 237.6 kB / 0.7165 GB, free: 2.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2093, allocations: 4 kB / 0.7165 GB, free: 2.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006733/0.21, allocations: 398.6 kB / 0.7168 GB, free: 2.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.21, allocations: 4 kB / 0.7169 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.21, allocations: 4 kB / 0.7169 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.21, allocations: 0 / 0.7169 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.2111, allocations: 163.9 kB / 0.717 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.2123, allocations: 2.367 MB / 0.7193 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.2127, allocations: 55.67 kB / 0.7194 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.2128, allocations: 19.98 kB / 0.7194 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003525/0.2131, allocations: 248 kB / 0.7196 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002662/0.2134, allocations: 182.7 kB / 0.7198 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000394/0.2138, allocations: 228.5 kB / 0.72 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.2138, allocations: 0 / 0.72 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006354/0.2145, allocations: 385.1 kB / 0.7204 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2145, allocations: 11.94 kB / 0.7204 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.2145, allocations: 112 / 0.7204 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-06/0.2145, allocations: 7.938 kB / 0.7204 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.2149, allocations: 99.86 kB / 0.7205 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2149, allocations: 4 kB / 0.7205 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/0.2153, allocations: 39.89 kB / 0.7205 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.2154, allocations: 16 kB / 0.7206 GB, free: 14.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.2155, allocations: 192.5 kB / 0.7207 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2156, allocations: 79.45 kB / 0.7208 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006031/0.2162, allocations: 307.7 kB / 0.7211 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.2162, allocations: 3.984 kB / 0.7211 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2162, allocations: 0 / 0.7211 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2162, allocations: 0 / 0.7211 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.2174, allocations: 0.8994 MB / 0.722 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2174, allocations: 0 / 0.722 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.2177, allocations: 79.94 kB / 0.7221 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2177, allocations: 0 / 0.7221 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.2177, allocations: 8 kB / 0.7221 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.2188, allocations: 2.356 MB / 0.7244 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2188, allocations: 0 / 0.7244 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/0.2193, allocations: 395.5 kB / 0.7248 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.2195, allocations: 180.7 kB / 0.7249 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.2196, allocations: 0 / 0.7249 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.2199, allocations: 23.97 kB / 0.725 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.22, allocations: 23.91 kB / 0.725 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.22, allocations: 4 kB / 0.725 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005178/0.2205, allocations: 479 kB / 0.7254 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.583e-06/0.2205, allocations: 0 / 0.7254 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007731/0.2213, allocations: 359.2 kB / 0.7258 GB, free: 8.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/0.2225, allocations: 1.094 MB / 0.7268 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.224, allocations: 499.2 kB / 0.7273 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.224, allocations: 0 / 0.7273 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.2244, allocations: 135.8 kB / 0.7275 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.2257, allocations: 311.2 kB / 0.7278 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/0.2316, allocations: 4.877 MB / 0.7325 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.232, allocations: 0.9296 MB / 0.7334 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003591/0.2324, allocations: 124.6 kB / 0.7335 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.2327, allocations: 255.3 kB / 0.7338 GB, free: 500 kB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.2327, allocations: 0 / 0.7338 GB, free: 500 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.2695, allocations: 19.17 MB / 0.7525 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12, allocations: 11.36 kB / 0.7525 GB, free: 13.75 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_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_TwoWayValveParameterization.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)