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.01187/0.01187, allocations: 101.2 kB / 15.73 MB, free: 5.988 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.002955/0.002955, allocations: 186.2 kB / 16.67 MB, free: 5.914 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.392/2.392, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.289/1.289, allocations: 132.2 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002916/0.002916, allocations: 67.89 kB / 0.5809 GB, free: 8.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7839/0.7868, allocations: 80.21 MB / 0.6592 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02553/0.8124, allocations: 15.55 MB / 0.6744 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.8245, allocations: 4.327 MB / 0.6786 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.826, allocations: 17.06 kB / 0.6786 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.8277, allocations: 269.1 kB / 0.6789 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.831, allocations: 0.6052 MB / 0.6795 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.8345, allocations: 0.7109 MB / 0.6802 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002913/0.8374, allocations: 1.036 MB / 0.6812 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009624/0.8384, allocations: 322.6 kB / 0.6815 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.8402, allocations: 422.7 kB / 0.6819 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008536/0.8411, allocations: 322 kB / 0.6822 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.8412, allocations: 26.78 kB / 0.6822 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.8437, allocations: 0.6253 MB / 0.6828 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.844, allocations: 104.2 kB / 0.6829 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004849/0.8445, allocations: 234.3 kB / 0.6832 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002381/0.8469, allocations: 0.7718 MB / 0.6839 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.8469, allocations: 0 / 0.6839 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8469, allocations: 1.125 kB / 0.6839 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.8469, allocations: 0 / 0.6839 GB, free: 6.832 MB / 0.5137 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.002292/0.8492, allocations: 0.852 MB / 0.6847 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.637e-05/0.8493, allocations: 13.28 kB / 0.6848 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.8495, allocations: 57.86 kB / 0.6848 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.8497, allocations: 55.61 kB / 0.6849 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.8509, allocations: 443.2 kB / 0.6853 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.851, allocations: 19.44 kB / 0.6853 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.161e-05/0.8511, allocations: 26.59 kB / 0.6853 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008314/0.8519, allocations: 209.9 kB / 0.6855 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.852, allocations: 3.938 kB / 0.6855 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.852, allocations: 6.094 kB / 0.6855 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.8521, allocations: 9.516 kB / 0.6855 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006712/0.8527, allocations: 170.1 kB / 0.6857 GB, free: 5.391 MB / 0.5137 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.002807/0.8556, allocations: 0.9451 MB / 0.6866 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005133/0.8561, allocations: 130.6 kB / 0.6868 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.8564, allocations: 73.22 kB / 0.6868 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000494/0.8569, allocations: 339.8 kB / 0.6872 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.857, allocations: 36.69 kB / 0.6872 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 2.955e-06/0.857, allocations: 0 / 0.6872 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.001064/0.858, allocations: 238.1 kB / 0.6874 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.649e-05/0.8581, allocations: 52.78 kB / 0.6875 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.8591, allocations: 478.5 kB / 0.6879 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.8592, allocations: 35.83 kB / 0.688 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.8595, allocations: 225.2 kB / 0.6882 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.363e-05/0.8596, allocations: 57.59 kB / 0.6882 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.8598, allocations: 59.16 kB / 0.6883 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002499/0.86, allocations: 352.6 kB / 0.6886 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.8604, allocations: 72.47 kB / 0.6887 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/0.8608, allocations: 152.8 kB / 0.6888 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000594/0.8614, allocations: 165.7 kB / 0.689 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8615, allocations: 5.312 kB / 0.689 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009263/0.8624, allocations: 258.2 kB / 0.6892 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.8624, allocations: 5.5 kB / 0.6892 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8625, allocations: 1.375 kB / 0.6892 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.8625, allocations: 1.375 kB / 0.6893 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/0.8629, allocations: 43.72 kB / 0.6893 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.8629, allocations: 5.312 kB / 0.6893 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/0.8636, allocations: 41.61 kB / 0.6893 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.8636, allocations: 14.86 kB / 0.6894 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005228/0.8642, allocations: 192.5 kB / 0.6895 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004491/0.8646, allocations: 156.9 kB / 0.6897 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005831/0.8652, allocations: 177.8 kB / 0.6899 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.247e-06/0.8653, allocations: 1.125 kB / 0.6899 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0009072/0.8662, allocations: 250.3 kB / 0.6901 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.8662, allocations: 10.22 kB / 0.6901 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.8662, allocations: 1.125 kB / 0.6901 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.044e-06/0.8663, allocations: 2.375 kB / 0.6901 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.8666, allocations: 47.22 kB / 0.6902 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.8666, allocations: 5.328 kB / 0.6902 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006175/0.8673, allocations: 39.08 kB / 0.6902 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.8673, allocations: 11.91 kB / 0.6902 GB, free: 1.891 MB / 0.5137 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 0.0002382/0.8676, allocations: 197.2 kB / 0.6904 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.8677, allocations: 43.12 kB / 0.6904 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009758/0.8687, allocations: 249.3 kB / 0.6907 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.8687, allocations: 5.266 kB / 0.6907 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.8688, allocations: 1.219 kB / 0.6907 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.8688, allocations: 3.938 kB / 0.6907 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.8706, allocations: 0.7013 MB / 0.6914 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.8706, allocations: 1.312 kB / 0.6914 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.8709, allocations: 37.8 kB / 0.6914 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.8709, allocations: 2.531 kB / 0.6914 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.8709, allocations: 10.52 kB / 0.6914 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.8709, allocations: 2.531 kB / 0.6914 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.871, allocations: 1.312 kB / 0.6914 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008546/0.8718, allocations: 350 kB / 0.6918 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.8721, allocations: 144.7 kB / 0.6919 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.321e-05/0.8722, allocations: 7 kB / 0.6919 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.8726, allocations: 11.42 kB / 0.6919 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/0.8727, allocations: 13.64 kB / 0.6919 GB, free: 488 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.8727, allocations: 5.219 kB / 0.6919 GB, free: 488 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007057/0.8734, allocations: 337.5 kB / 0.6922 GB, free: 284 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8735, allocations: 4 kB / 0.6923 GB, free: 280 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001302/0.8748, allocations: 203.6 kB / 0.6924 GB, free: 232 kB / 0.5137 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.003802/0.8786, allocations: 1.258 MB / 0.6937 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.8799, allocations: 268.8 kB / 0.6939 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8799, allocations: 1.625 kB / 0.6939 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.8803, allocations: 83.27 kB / 0.694 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.8824, allocations: 197.4 kB / 0.6942 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00915/0.8915, allocations: 3.36 MB / 0.6975 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007479/0.8924, allocations: 0.8307 MB / 0.6983 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006439/0.893, allocations: 92.5 kB / 0.6984 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.8934, allocations: 141.5 kB / 0.6985 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of SimCode: time 1.303e-06/0.8934, allocations: 0 / 0.6985 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06753/0.961, allocations: 12.81 MB / 0.711 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.81, allocations: 3.5 kB / 0.711 GB, free: 0.7695 MB / 0.5294 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)