Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_dev_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.005119/0.005119, allocations: 97.88 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.001244/0.001245, allocations: 192.6 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9595/0.9595, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 63.91 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3725, allocations: 80.92 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01391/0.3864, allocations: 15.55 MB / 0.6793 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006252/0.3927, allocations: 4.332 MB / 0.6836 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005378/0.3933, allocations: 12.81 kB / 0.6836 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008827/0.3942, allocations: 272.3 kB / 0.6838 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.3958, allocations: 0.6328 MB / 0.6845 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.3976, allocations: 0.7113 MB / 0.6852 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001378/0.399, allocations: 1.035 MB / 0.6862 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004931/0.3995, allocations: 338.9 kB / 0.6865 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007449/0.4003, allocations: 433.6 kB / 0.6869 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004288/0.4007, allocations: 319.1 kB / 0.6872 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.334e-05/0.4008, allocations: 27.53 kB / 0.6872 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.4021, allocations: 0.6234 MB / 0.6878 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.4022, allocations: 105.3 kB / 0.6879 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.4024, allocations: 231.9 kB / 0.6882 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.4035, allocations: 0.7678 MB / 0.6889 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4035, allocations: 1.344 kB / 0.6889 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4035, allocations: 0 / 0.6889 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.4036, allocations: 7.938 kB / 0.6889 GB, free: 3.754 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.001247/0.4048, allocations: 0.8457 MB / 0.6898 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.4049, allocations: 10.19 kB / 0.6898 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.485e-05/0.4049, allocations: 54.55 kB / 0.6898 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.4051, allocations: 55.14 kB / 0.6899 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007211/0.4058, allocations: 441.7 kB / 0.6903 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.4058, allocations: 20.34 kB / 0.6903 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/0.4059, allocations: 31.31 kB / 0.6903 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.4063, allocations: 213.1 kB / 0.6905 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4064, allocations: 0 / 0.6905 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.4064, allocations: 14.17 kB / 0.6906 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.4064, allocations: 5.562 kB / 0.6906 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.4068, allocations: 162.3 kB / 0.6907 GB, free: 2.32 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.001654/0.4085, allocations: 0.9488 MB / 0.6916 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.4088, allocations: 135.5 kB / 0.6918 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.409, allocations: 68.17 kB / 0.6918 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.4093, allocations: 336.8 kB / 0.6922 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.4093, allocations: 35.91 kB / 0.6922 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.4093, allocations: 0 / 0.6922 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006538/0.41, allocations: 246.1 kB / 0.6924 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.41, allocations: 60.41 kB / 0.6925 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005404/0.4106, allocations: 478 kB / 0.6929 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.4106, allocations: 32.3 kB / 0.693 GB, free: 468 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.4108, allocations: 225 kB / 0.6932 GB, free: 264 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.4108, allocations: 57.69 kB / 0.6932 GB, free: 212 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.756e-05/0.411, allocations: 58.47 kB / 0.6933 GB, free: 172 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4111, allocations: 357.4 kB / 0.6936 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.4113, allocations: 76.16 kB / 0.6937 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.4116, allocations: 156.5 kB / 0.6939 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.4119, allocations: 162.5 kB / 0.694 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4119, allocations: 1.062 kB / 0.694 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005192/0.4125, allocations: 250.9 kB / 0.6943 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.4125, allocations: 6.375 kB / 0.6943 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4125, allocations: 0 / 0.6943 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4125, allocations: 9.891 kB / 0.6943 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.4128, allocations: 50.53 kB / 0.6943 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4128, allocations: 3.5 kB / 0.6943 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.4131, allocations: 42.03 kB / 0.6944 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.4132, allocations: 10.77 kB / 0.6944 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000267/0.4134, allocations: 188.2 kB / 0.6945 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002575/0.4137, allocations: 165.1 kB / 0.6947 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003385/0.414, allocations: 167.1 kB / 0.6949 GB, free: 15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.414, allocations: 1.156 kB / 0.6949 GB, free: 15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005185/0.4146, allocations: 255.1 kB / 0.6951 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.4146, allocations: 5.938 kB / 0.6951 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/0.4146, allocations: 0 / 0.6951 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/0.4146, allocations: 3.781 kB / 0.6951 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.4148, allocations: 45.5 kB / 0.6952 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.4148, allocations: 7.188 kB / 0.6952 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.4152, allocations: 34.89 kB / 0.6952 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.4152, allocations: 14.56 kB / 0.6952 GB, free: 14.82 MB / 0.5294 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.0001135/0.4153, allocations: 189.9 kB / 0.6954 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.4154, allocations: 47.8 kB / 0.6954 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.416, allocations: 249.1 kB / 0.6957 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.416, allocations: 1.781 kB / 0.6957 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.416, allocations: 0 / 0.6957 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.416, allocations: 11.86 kB / 0.6957 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.417, allocations: 0.7049 MB / 0.6964 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.417, allocations: 5.312 kB / 0.6964 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.4172, allocations: 31.3 kB / 0.6964 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.4172, allocations: 1.375 kB / 0.6964 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.4172, allocations: 6.75 kB / 0.6964 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4172, allocations: 6.75 kB / 0.6964 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4172, allocations: 5.359 kB / 0.6964 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.4177, allocations: 345.8 kB / 0.6968 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.4179, allocations: 141.2 kB / 0.6969 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.4179, allocations: 6.734 kB / 0.6969 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.4181, allocations: 18.86 kB / 0.6969 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.4182, allocations: 13.48 kB / 0.6969 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.4182, allocations: 5.5 kB / 0.6969 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003548/0.4186, allocations: 333.3 kB / 0.6973 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4186, allocations: 0 / 0.6973 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006943/0.4193, allocations: 206.4 kB / 0.6975 GB, free: 13.16 MB / 0.5294 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.001746/0.421, allocations: 1.26 MB / 0.6987 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006696/0.4217, allocations: 269.5 kB / 0.6989 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4217, allocations: 0 / 0.6989 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.4219, allocations: 84.3 kB / 0.699 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.423, allocations: 207.4 kB / 0.6992 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.4274, allocations: 3.341 MB / 0.7025 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.4279, allocations: 0.8223 MB / 0.7033 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003203/0.4282, allocations: 87.98 kB / 0.7034 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.4284, allocations: 143.4 kB / 0.7035 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.4284, allocations: 0 / 0.7035 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.4603, allocations: 12.83 MB / 0.716 GB, free: 12.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.258/8.718, allocations: 4.312 kB / 0.716 GB, free: 12.04 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)