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.004927/0.004927, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001262/0.001262, allocations: 198.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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9823/0.9823, allocations: 135.5 MB / 426.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 75.88 kB / 0.5858 GB, free: 3.211 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3568, allocations: 81.02 MB / 0.6649 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01569/0.3725, allocations: 15.54 MB / 0.6801 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006671/0.3792, allocations: 4.323 MB / 0.6843 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005646/0.3798, allocations: 16.03 kB / 0.6843 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008867/0.3807, allocations: 273.6 kB / 0.6845 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.3822, allocations: 0.6054 MB / 0.6851 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.3841, allocations: 0.7023 MB / 0.6858 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.3854, allocations: 1.035 MB / 0.6868 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004756/0.3859, allocations: 347.2 kB / 0.6872 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007097/0.3866, allocations: 417.4 kB / 0.6876 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.387, allocations: 323.1 kB / 0.6879 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.3871, allocations: 26.97 kB / 0.6879 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.3883, allocations: 0.6244 MB / 0.6885 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.3884, allocations: 104.6 kB / 0.6886 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.3886, allocations: 230.4 kB / 0.6888 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.3898, allocations: 0.7692 MB / 0.6896 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3898, allocations: 4 kB / 0.6896 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3898, allocations: 5.469 kB / 0.6896 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.3898, allocations: 0 / 0.6896 GB, free: 3.34 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.001275/0.3911, allocations: 0.8464 MB / 0.6904 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3911, allocations: 8.594 kB / 0.6904 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.084e-05/0.3912, allocations: 62.92 kB / 0.6905 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.3913, allocations: 55.05 kB / 0.6905 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006731/0.392, allocations: 438.4 kB / 0.691 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.392, allocations: 19.78 kB / 0.691 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.3921, allocations: 27.22 kB / 0.691 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.3925, allocations: 217.1 kB / 0.6912 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3925, allocations: 0 / 0.6912 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.3926, allocations: 9.938 kB / 0.6912 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3926, allocations: 5.469 kB / 0.6912 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003906/0.393, allocations: 165.5 kB / 0.6914 GB, free: 1.906 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.001607/0.3946, allocations: 0.9451 MB / 0.6923 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.3949, allocations: 132.2 kB / 0.6924 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.3951, allocations: 72.73 kB / 0.6925 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.3954, allocations: 336.5 kB / 0.6928 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.3954, allocations: 39.75 kB / 0.6929 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.3954, allocations: 7.938 kB / 0.6929 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006293/0.3961, allocations: 229.9 kB / 0.6931 GB, free: 448 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.3961, allocations: 53.5 kB / 0.6931 GB, free: 384 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004892/0.3966, allocations: 486.7 kB / 0.6936 GB, free: 84 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.3966, allocations: 31.08 kB / 0.6936 GB, free: 48 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.3968, allocations: 226 kB / 0.6938 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.3969, allocations: 53.11 kB / 0.6939 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/0.397, allocations: 66.72 kB / 0.694 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3972, allocations: 348.5 kB / 0.6943 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.3974, allocations: 76.78 kB / 0.6944 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.3976, allocations: 157.2 kB / 0.6945 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.398, allocations: 155.3 kB / 0.6947 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.398, allocations: 0 / 0.6947 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005415/0.3986, allocations: 258.1 kB / 0.6949 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3986, allocations: 5.844 kB / 0.6949 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3986, allocations: 4 kB / 0.6949 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3986, allocations: 1.625 kB / 0.6949 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.3989, allocations: 48.81 kB / 0.695 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.3989, allocations: 3.984 kB / 0.695 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.3992, allocations: 42.25 kB / 0.695 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.3992, allocations: 11.17 kB / 0.695 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002916/0.3995, allocations: 190.2 kB / 0.6952 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002524/0.3998, allocations: 164.5 kB / 0.6954 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003362/0.4001, allocations: 169.6 kB / 0.6955 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.183e-06/0.4001, allocations: 192 / 0.6955 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005097/0.4007, allocations: 263.7 kB / 0.6958 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.303e-06/0.4007, allocations: 9.438 kB / 0.6958 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/0.4007, allocations: 1.375 kB / 0.6958 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/0.4007, allocations: 2.75 kB / 0.6958 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.4009, allocations: 46.41 kB / 0.6958 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4009, allocations: 6.688 kB / 0.6958 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.4012, allocations: 33.86 kB / 0.6959 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.4013, allocations: 16.56 kB / 0.6959 GB, free: 14.41 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.0001219/0.4014, allocations: 184.7 kB / 0.6961 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.4015, allocations: 43.19 kB / 0.6961 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005664/0.4021, allocations: 262.9 kB / 0.6964 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.4021, allocations: 1.281 kB / 0.6964 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4021, allocations: 1.281 kB / 0.6964 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.4021, allocations: 7.922 kB / 0.6964 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.4031, allocations: 0.7059 MB / 0.6971 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4032, allocations: 0 / 0.6971 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.4033, allocations: 34.89 kB / 0.6971 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4033, allocations: 2.75 kB / 0.6971 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.4033, allocations: 6.75 kB / 0.6971 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4033, allocations: 1.375 kB / 0.6971 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4033, allocations: 1.375 kB / 0.6971 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/0.4038, allocations: 340.2 kB / 0.6974 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.404, allocations: 149.1 kB / 0.6976 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.404, allocations: 6.75 kB / 0.6976 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.4043, allocations: 18.84 kB / 0.6976 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.4043, allocations: 14.8 kB / 0.6976 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.4043, allocations: 9.5 kB / 0.6976 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003614/0.4047, allocations: 332.9 kB / 0.6979 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4047, allocations: 0 / 0.6979 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006505/0.4054, allocations: 205.8 kB / 0.6981 GB, free: 12.74 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.002274/0.4076, allocations: 1.26 MB / 0.6994 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006839/0.4083, allocations: 276.3 kB / 0.6996 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4084, allocations: 0 / 0.6996 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.4086, allocations: 80.2 kB / 0.6997 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.4096, allocations: 196.6 kB / 0.6999 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/0.4143, allocations: 3.35 MB / 0.7032 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.4148, allocations: 0.8269 MB / 0.704 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002941/0.4151, allocations: 87.2 kB / 0.704 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.4153, allocations: 147.3 kB / 0.7042 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of SimCode: time 7.92e-07/0.4153, allocations: 0 / 0.7042 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.4527, allocations: 12.81 MB / 0.7167 GB, free: 11.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/8.959, allocations: 3.078 kB / 0.7167 GB, free: 11.38 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)