Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.001524/0.001524, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 194 kB / 16.53 MB, free: 6.391 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7275/0.7275, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 60.97 kB / 0.5019 GB, free: 8.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.129, allocations: 80.2 MB / 0.5802 GB, free: 8.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0147/0.1438, allocations: 15.56 MB / 0.5954 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005579/0.1494, allocations: 4.33 MB / 0.5996 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.1497, allocations: 15.94 kB / 0.5996 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007618/0.1505, allocations: 262.3 kB / 0.5999 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.1517, allocations: 0.6023 MB / 0.6005 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.1533, allocations: 0.699 MB / 0.6011 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.1544, allocations: 1.029 MB / 0.6022 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.1548, allocations: 340.1 kB / 0.6025 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005645/0.1554, allocations: 418.3 kB / 0.6029 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.1558, allocations: 314.6 kB / 0.6032 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.849e-05/0.1558, allocations: 32 kB / 0.6032 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009867/0.1568, allocations: 0.6278 MB / 0.6038 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1569, allocations: 103.6 kB / 0.6039 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.1572, allocations: 230.6 kB / 0.6041 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.2387/0.3959, allocations: 0.7557 MB / 0.6049 GB, free: 37.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3959, allocations: 3.031 kB / 0.6049 GB, free: 37.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3959, allocations: 0 / 0.6049 GB, free: 37.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.3959, allocations: 0 / 0.6049 GB, free: 37.53 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001/0.3969, allocations: 0.8356 MB / 0.6057 GB, free: 37.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.397, allocations: 12.12 kB / 0.6057 GB, free: 37.01 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.397, allocations: 54.53 kB / 0.6058 GB, free: 36.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.163e-05/0.3971, allocations: 55.03 kB / 0.6058 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.3976, allocations: 414.9 kB / 0.6062 GB, free: 36.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.3976, allocations: 18.44 kB / 0.6062 GB, free: 36.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.3976, allocations: 25.91 kB / 0.6062 GB, free: 36.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.398, allocations: 218.3 kB / 0.6065 GB, free: 36.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.398, allocations: 3.266 kB / 0.6065 GB, free: 36.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.398, allocations: 7.344 kB / 0.6065 GB, free: 36.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.398, allocations: 6.188 kB / 0.6065 GB, free: 36.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.3984, allocations: 166 kB / 0.6066 GB, free: 36.66 MB / 0.4981 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.001223/0.3996, allocations: 0.9527 MB / 0.6076 GB, free: 36.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.3999, allocations: 132 kB / 0.6077 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.4, allocations: 75.7 kB / 0.6078 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.4002, allocations: 336.9 kB / 0.6081 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.117e-05/0.4002, allocations: 33.47 kB / 0.6081 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.4002, allocations: 3.469 kB / 0.6081 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005311/0.4007, allocations: 243.9 kB / 0.6083 GB, free: 35.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.4008, allocations: 51.41 kB / 0.6084 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.4011, allocations: 475.9 kB / 0.6089 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.4012, allocations: 29.64 kB / 0.6089 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.4013, allocations: 230.2 kB / 0.6091 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.4013, allocations: 54.97 kB / 0.6092 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.4014, allocations: 59.5 kB / 0.6092 GB, free: 35.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.4014, allocations: 352.4 kB / 0.6095 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.4016, allocations: 76.14 kB / 0.6096 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.4018, allocations: 153.8 kB / 0.6098 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.4021, allocations: 156.1 kB / 0.6099 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4021, allocations: 4 kB / 0.6099 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004315/0.4026, allocations: 256.2 kB / 0.6102 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.4026, allocations: 9.984 kB / 0.6102 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4026, allocations: 0 / 0.6102 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4026, allocations: 2.562 kB / 0.6102 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.4028, allocations: 40.23 kB / 0.6102 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.4028, allocations: 8.328 kB / 0.6102 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.4031, allocations: 39.34 kB / 0.6103 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.4032, allocations: 12.41 kB / 0.6103 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002217/0.4034, allocations: 192 kB / 0.6105 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001852/0.4036, allocations: 161.3 kB / 0.6106 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002723/0.4039, allocations: 165.4 kB / 0.6108 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.4039, allocations: 3.938 kB / 0.6108 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004153/0.4043, allocations: 255.8 kB / 0.611 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.192e-06/0.4043, allocations: 6.438 kB / 0.611 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.4043, allocations: 1.25 kB / 0.611 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-06/0.4043, allocations: 2.969 kB / 0.611 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.4045, allocations: 52.83 kB / 0.6111 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.4045, allocations: 1.094 kB / 0.6111 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.4048, allocations: 35.84 kB / 0.6111 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.4049, allocations: 16.62 kB / 0.6111 GB, free: 34.57 MB / 0.4981 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 (24): * Single equations (assignments): 24 * 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 6.413e-05/0.4049, allocations: 195.9 kB / 0.6113 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.405, allocations: 43.41 kB / 0.6114 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.4055, allocations: 250.8 kB / 0.6116 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.4055, allocations: 6.844 kB / 0.6116 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4055, allocations: 0 / 0.6116 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4055, allocations: 1.094 kB / 0.6116 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000736/0.4062, allocations: 0.7025 MB / 0.6123 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4063, allocations: 3.469 kB / 0.6123 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.4064, allocations: 28.33 kB / 0.6123 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4064, allocations: 5.688 kB / 0.6123 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.4064, allocations: 3.281 kB / 0.6123 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.4064, allocations: 17.09 kB / 0.6123 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4064, allocations: 0 / 0.6123 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.4068, allocations: 342.9 kB / 0.6127 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/0.4069, allocations: 131.1 kB / 0.6128 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.407, allocations: 7.828 kB / 0.6128 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.4072, allocations: 17.97 kB / 0.6128 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.4072, allocations: 18.55 kB / 0.6128 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.4072, allocations: 6.875 kB / 0.6128 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002583/0.4075, allocations: 333.2 kB / 0.6132 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4075, allocations: 3.656 kB / 0.6132 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005609/0.4081, allocations: 204.4 kB / 0.6134 GB, free: 33.54 MB / 0.4981 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001367/0.4094, allocations: 1.245 MB / 0.6146 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005691/0.41, allocations: 279.7 kB / 0.6148 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.41, allocations: 0 / 0.6148 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.4102, allocations: 86.09 kB / 0.6149 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009695/0.4112, allocations: 210.2 kB / 0.6151 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.4144, allocations: 3.369 MB / 0.6184 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.4146, allocations: 0.8324 MB / 0.6192 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002565/0.4149, allocations: 90.91 kB / 0.6193 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.4151, allocations: 142.8 kB / 0.6194 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.4151, allocations: 0 / 0.6194 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.4402, allocations: 12.65 MB / 0.6318 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.273/7.713, allocations: 17.42 kB / 0.6318 GB, free: 29.18 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_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_Examples_TwoWayValvesTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)