Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.004393/0.004397, allocations: 99.34 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.001291/0.001291, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.474/1.474, 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.9721/0.9721, allocations: 135.6 MB / 426.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 63.89 kB / 0.5858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3721, allocations: 81.03 MB / 0.6649 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01722/0.3894, allocations: 17.44 MB / 0.6819 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007358/0.3968, allocations: 4.93 MB / 0.6867 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.3973, allocations: 17.12 kB / 0.6867 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007819/0.3981, allocations: 251.6 kB / 0.687 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.3995, allocations: 0.6174 MB / 0.6876 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.4013, allocations: 0.7218 MB / 0.6883 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.4025, allocations: 0.9709 MB / 0.6892 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004732/0.403, allocations: 336.5 kB / 0.6896 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006567/0.4037, allocations: 413 kB / 0.69 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004203/0.4041, allocations: 312.6 kB / 0.6903 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.4042, allocations: 30.03 kB / 0.6903 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.4054, allocations: 0.7257 MB / 0.691 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.4055, allocations: 133.2 kB / 0.6911 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.4058, allocations: 252.2 kB / 0.6914 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.407, allocations: 0.8855 MB / 0.6922 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.407, allocations: 1.188 kB / 0.6922 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.252e-06/0.407, allocations: 0 / 0.6922 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.4071, allocations: 3.938 kB / 0.6922 GB, free: 1.273 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001323/0.4084, allocations: 0.9074 MB / 0.6931 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.4084, allocations: 9.688 kB / 0.6931 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.555e-05/0.4085, allocations: 62.7 kB / 0.6932 GB, free: 444 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.4087, allocations: 61.72 kB / 0.6932 GB, free: 412 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.4094, allocations: 471.5 kB / 0.6937 GB, free: 8 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.4094, allocations: 20.38 kB / 0.6937 GB, free: 0 / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.4095, allocations: 31.52 kB / 0.6937 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.41, allocations: 289.1 kB / 0.694 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.41, allocations: 0 / 0.694 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.4101, allocations: 11.44 kB / 0.694 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.4101, allocations: 7.688 kB / 0.694 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.4105, allocations: 192 kB / 0.6942 GB, free: 15.69 MB / 0.5294 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.001926/0.4124, allocations: 1.477 MB / 0.6957 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.4128, allocations: 162.4 kB / 0.6958 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.413, allocations: 82.27 kB / 0.6959 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/0.4147, allocations: 1.286 MB / 0.6971 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4147, allocations: 31.94 kB / 0.6972 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.4147, allocations: 0 / 0.6972 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006391/0.4154, allocations: 256.8 kB / 0.6974 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.4154, allocations: 54.16 kB / 0.6975 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/0.4161, allocations: 0.5841 MB / 0.698 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.4161, allocations: 31.83 kB / 0.6981 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.4164, allocations: 270.5 kB / 0.6983 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.4164, allocations: 54.66 kB / 0.6984 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.4166, allocations: 70.11 kB / 0.6985 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.4167, allocations: 359.8 kB / 0.6988 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.4169, allocations: 77.72 kB / 0.6989 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.4173, allocations: 212.5 kB / 0.6991 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.4177, allocations: 243.6 kB / 0.6993 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4177, allocations: 5.312 kB / 0.6993 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005934/0.4183, allocations: 311.3 kB / 0.6996 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.4184, allocations: 13.22 kB / 0.6996 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4184, allocations: 6.438 kB / 0.6996 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4184, allocations: 8.625 kB / 0.6996 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.4186, allocations: 62.8 kB / 0.6997 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.4187, allocations: 4.531 kB / 0.6997 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.419, allocations: 46.91 kB / 0.6997 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.445e-05/0.419, allocations: 16.3 kB / 0.6998 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003227/0.4193, allocations: 213 kB / 0.7 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003028/0.4197, allocations: 210.8 kB / 0.7002 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004112/0.4201, allocations: 229.6 kB / 0.7004 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.4201, allocations: 3.938 kB / 0.7004 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005927/0.4207, allocations: 315.2 kB / 0.7007 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.353e-06/0.4207, allocations: 9.688 kB / 0.7007 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.4207, allocations: 3.562 kB / 0.7007 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.217e-06/0.4207, allocations: 3.219 kB / 0.7007 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.4209, allocations: 59.94 kB / 0.7008 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.421, allocations: 3.938 kB / 0.7008 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.4213, allocations: 43.72 kB / 0.7008 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.4213, allocations: 15.25 kB / 0.7008 GB, free: 10.24 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001401/0.4215, allocations: 207.8 kB / 0.701 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.4216, allocations: 50.17 kB / 0.7011 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005544/0.4221, allocations: 248.9 kB / 0.7013 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.4221, allocations: 1.312 kB / 0.7013 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4221, allocations: 1.281 kB / 0.7013 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4222, allocations: 3.984 kB / 0.7013 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.4232, allocations: 0.7334 MB / 0.702 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4233, allocations: 1.094 kB / 0.702 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.4234, allocations: 32.2 kB / 0.7021 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.4234, allocations: 2.219 kB / 0.7021 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.4234, allocations: 6.719 kB / 0.7021 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4234, allocations: 5.375 kB / 0.7021 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4234, allocations: 9.359 kB / 0.7021 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.424, allocations: 355.1 kB / 0.7024 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.4241, allocations: 153.7 kB / 0.7026 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/0.4242, allocations: 5.188 kB / 0.7026 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.4244, allocations: 14.73 kB / 0.7026 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.4245, allocations: 22.47 kB / 0.7026 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.4245, allocations: 8.906 kB / 0.7026 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004769/0.425, allocations: 416.8 kB / 0.703 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.425, allocations: 4 kB / 0.703 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007263/0.4257, allocations: 235.3 kB / 0.7032 GB, free: 8.496 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 (17): * Single equations (assignments): 15 * 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.002304/0.428, allocations: 1.266 MB / 0.7045 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007408/0.4288, allocations: 318.2 kB / 0.7048 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4288, allocations: 0 / 0.7048 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.429, allocations: 103.8 kB / 0.7049 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.4302, allocations: 256.4 kB / 0.7051 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005521/0.4358, allocations: 3.949 MB / 0.709 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.4363, allocations: 0.8467 MB / 0.7098 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003244/0.4366, allocations: 108.2 kB / 0.7099 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.4369, allocations: 167.4 kB / 0.7101 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of SimCode: time 4.5e-07/0.4369, allocations: 0 / 0.7101 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/0.4777, allocations: 15.04 MB / 0.7248 GB, free: 2.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.795/9.273, allocations: 8.531 kB / 0.7248 GB, free: 2.832 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable_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_TwoWayValveTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)