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.004939/0.004939, allocations: 100.8 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.001371/0.001371, allocations: 197.5 kB / 16.68 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.412/1.412, 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.8583/0.8583, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 67.39 kB / 0.5857 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.144, allocations: 81.03 MB / 0.6649 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4509/0.595, allocations: 154.4 MB / 0.8156 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0436/0.6386, allocations: 30.36 MB / 0.8453 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004962/0.6436, allocations: 141.5 kB / 0.8454 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003251/0.6469, allocations: 1.038 MB / 0.8464 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00928/0.6562, allocations: 3.163 MB / 0.8495 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006851/0.6631, allocations: 2.516 MB / 0.852 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009007/0.6721, allocations: 5.388 MB / 0.8572 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004107/0.6762, allocations: 2.233 MB / 0.8594 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006012/0.6823, allocations: 2.696 MB / 0.862 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003929/0.6862, allocations: 1.961 MB / 0.864 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009122/0.6872, allocations: 212 kB / 0.8642 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.6905, allocations: 1.088 MB / 0.8652 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.6916, allocations: 0.5565 MB / 0.8658 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003121/0.6947, allocations: 1.267 MB / 0.867 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007844/0.7026, allocations: 3.344 MB / 0.8703 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.7026, allocations: 4 kB / 0.8703 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7026, allocations: 4 kB / 0.8703 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001209/0.7028, allocations: 0 / 0.8703 GB, free: 4.184 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.007127/0.7099, allocations: 2.859 MB / 0.8731 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.71, allocations: 9.109 kB / 0.8731 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003591/0.7103, allocations: 173.4 kB / 0.8732 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007013/0.7111, allocations: 286.2 kB / 0.8735 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003379/0.7144, allocations: 1.525 MB / 0.875 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.7146, allocations: 110.3 kB / 0.8751 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.7149, allocations: 136 kB / 0.8752 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.7175, allocations: 1.163 MB / 0.8764 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.7176, allocations: 0 / 0.8764 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.7177, allocations: 44 kB / 0.8764 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.7177, allocations: 28 kB / 0.8764 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.7199, allocations: 1.013 MB / 0.8774 GB, free: 12.66 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.01143/0.7313, allocations: 6.34 MB / 0.8836 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.7325, allocations: 0.5795 MB / 0.8842 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.7332, allocations: 386.2 kB / 0.8846 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004913/0.7337, allocations: 0.5031 MB / 0.885 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.7337, allocations: 39.12 kB / 0.8851 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001385/0.7351, allocations: 239.3 kB / 0.8853 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 4.459e-06/0.7351, allocations: 0 / 0.8853 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.002651/0.7378, allocations: 1.181 MB / 0.8865 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.7378, allocations: 55.97 kB / 0.8865 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002875/0.7407, allocations: 1.892 MB / 0.8884 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.7409, allocations: 49.7 kB / 0.8884 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000939/0.7418, allocations: 0.9276 MB / 0.8893 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.742, allocations: 214.1 kB / 0.8895 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005007/0.7425, allocations: 302.7 kB / 0.8898 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.7427, allocations: 353.9 kB / 0.8901 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000898/0.7436, allocations: 461.9 kB / 0.8906 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.7448, allocations: 0.6918 MB / 0.8913 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.7466, allocations: 0.9813 MB / 0.8922 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.7466, allocations: 4 kB / 0.8922 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002848/0.7495, allocations: 1.437 MB / 0.8936 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.7495, allocations: 4 kB / 0.8936 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.7495, allocations: 4 kB / 0.8936 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/0.7496, allocations: 11.94 kB / 0.8936 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.7509, allocations: 295.5 kB / 0.8939 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.7509, allocations: 12.28 kB / 0.8939 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.7524, allocations: 83.92 kB / 0.894 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.7526, allocations: 55.95 kB / 0.8941 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001409/0.754, allocations: 0.7212 MB / 0.8948 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001101/0.7551, allocations: 0.6684 MB / 0.8954 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001646/0.7567, allocations: 0.9383 MB / 0.8963 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.237e-06/0.7568, allocations: 0 / 0.8963 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002662/0.7594, allocations: 1.386 MB / 0.8977 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.7595, allocations: 8 kB / 0.8977 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.7595, allocations: 3.984 kB / 0.8977 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.7595, allocations: 12 kB / 0.8977 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.7608, allocations: 275.6 kB / 0.898 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.7608, allocations: 19.86 kB / 0.898 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.7623, allocations: 103.9 kB / 0.8981 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.7625, allocations: 55.95 kB / 0.8982 GB, free: 6.496 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.0003107/0.7628, allocations: 241.3 kB / 0.8984 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.7631, allocations: 210.6 kB / 0.8986 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.7653, allocations: 1.095 MB / 0.8997 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.7654, allocations: 11.94 kB / 0.8997 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7654, allocations: 7.984 kB / 0.8997 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.7654, allocations: 0 / 0.8997 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/0.7692, allocations: 2.445 MB / 0.9021 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.7692, allocations: 8.188 kB / 0.9021 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/0.7699, allocations: 135.8 kB / 0.9022 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.7699, allocations: 4 kB / 0.9022 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.838e-05/0.7699, allocations: 20 kB / 0.9022 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.77, allocations: 4 kB / 0.9022 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.77, allocations: 3.938 kB / 0.9022 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.7717, allocations: 1.079 MB / 0.9033 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006308/0.7723, allocations: 375.5 kB / 0.9036 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/0.7725, allocations: 12 kB / 0.9037 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007867/0.7733, allocations: 35.97 kB / 0.9037 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.7735, allocations: 60.45 kB / 0.9037 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.7735, allocations: 20 kB / 0.9038 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001877/0.7754, allocations: 1.252 MB / 0.905 GB, free: 15.33 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7754, allocations: 0 / 0.905 GB, free: 15.33 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002066/0.7775, allocations: 0.9163 MB / 0.9059 GB, free: 14.41 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.00264/0.7801, allocations: 1.872 MB / 0.9077 GB, free: 12.51 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003056/0.7832, allocations: 1.646 MB / 0.9093 GB, free: 10.87 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7832, allocations: 384 / 0.9093 GB, free: 10.87 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000709/0.784, allocations: 415.5 kB / 0.9097 GB, free: 10.46 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004736/0.7887, allocations: 1.088 MB / 0.9108 GB, free: 9.398 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/0.8095, allocations: 13.16 MB / 0.9236 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.8107, allocations: 1.405 MB / 0.925 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001691/0.8124, allocations: 405.3 kB / 0.9254 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/0.8136, allocations: 0.8312 MB / 0.9262 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of SimCode: time 6.11e-07/0.8136, allocations: 3.938 kB / 0.9262 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1103/0.924, allocations: 56.1 MB / 0.981 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.98, allocations: 3.75 kB / 0.981 GB, free: 1.703 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)