Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_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.001/0.001, allocations: 103.5 kB / 16.27 MB, free: 5.98 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.001043/0.001043, allocations: 188.6 kB / 17.19 MB, free: 5.609 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.193/1.193, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6619/0.6619, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2684, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0123/0.2807, allocations: 15.53 MB / 0.5824 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004643/0.2854, allocations: 4.339 MB / 0.5867 GB, free: 18.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.2857, allocations: 16.31 kB / 0.5867 GB, free: 18.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006634/0.2864, allocations: 268.8 kB / 0.587 GB, free: 18.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000927/0.2873, allocations: 0.5993 MB / 0.5875 GB, free: 17.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.2885, allocations: 0.6996 MB / 0.5882 GB, free: 17.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007957/0.2893, allocations: 1.031 MB / 0.5892 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.2897, allocations: 330.6 kB / 0.5895 GB, free: 16.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004489/0.2901, allocations: 423 kB / 0.5899 GB, free: 16.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.2905, allocations: 320.8 kB / 0.5903 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/0.2905, allocations: 26.06 kB / 0.5903 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007946/0.2913, allocations: 0.6201 MB / 0.5909 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.2914, allocations: 110.7 kB / 0.591 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.2916, allocations: 225.7 kB / 0.5912 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007006/0.2923, allocations: 0.7487 MB / 0.5919 GB, free: 15.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2923, allocations: 3.984 kB / 0.5919 GB, free: 15.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2923, allocations: 1.406 kB / 0.5919 GB, free: 15.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2923, allocations: 1.469 kB / 0.5919 GB, free: 15.11 MB / 446.1 MB 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.0009298/0.2933, allocations: 0.8323 MB / 0.5928 GB, free: 14.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2933, allocations: 10.12 kB / 0.5928 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.2933, allocations: 54.77 kB / 0.5928 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.2934, allocations: 57.02 kB / 0.5929 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.2938, allocations: 410.5 kB / 0.5933 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.2939, allocations: 19.47 kB / 0.5933 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.2939, allocations: 30.56 kB / 0.5933 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.2943, allocations: 222.7 kB / 0.5935 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2943, allocations: 1.188 kB / 0.5935 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.2943, allocations: 6.125 kB / 0.5935 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.2943, allocations: 5.188 kB / 0.5935 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.2947, allocations: 166.7 kB / 0.5937 GB, free: 13.72 MB / 446.1 MB 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.001232/0.2959, allocations: 0.9549 MB / 0.5946 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.2962, allocations: 126.8 kB / 0.5947 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.2963, allocations: 73.62 kB / 0.5948 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.2965, allocations: 339.6 kB / 0.5951 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.2965, allocations: 31.78 kB / 0.5952 GB, free: 12.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.2965, allocations: 0 / 0.5952 GB, free: 12.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005415/0.2971, allocations: 242.8 kB / 0.5954 GB, free: 12.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/0.2971, allocations: 56.45 kB / 0.5955 GB, free: 12.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.2975, allocations: 474.5 kB / 0.5959 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.2975, allocations: 35.98 kB / 0.5959 GB, free: 11.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.2976, allocations: 237.9 kB / 0.5962 GB, free: 11.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.2977, allocations: 40.8 kB / 0.5962 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/0.2978, allocations: 61.5 kB / 0.5963 GB, free: 11.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.738e-05/0.2978, allocations: 357.9 kB / 0.5966 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.298, allocations: 72.56 kB / 0.5967 GB, free: 11.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.2982, allocations: 152.2 kB / 0.5968 GB, free: 11.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.2985, allocations: 169.8 kB / 0.597 GB, free: 10.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2985, allocations: 0 / 0.597 GB, free: 10.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004575/0.299, allocations: 251.9 kB / 0.5972 GB, free: 10.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.299, allocations: 4.438 kB / 0.5972 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.299, allocations: 1.562 kB / 0.5972 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.299, allocations: 1.125 kB / 0.5972 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.2992, allocations: 47.66 kB / 0.5973 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2993, allocations: 1.094 kB / 0.5973 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.2995, allocations: 42.09 kB / 0.5973 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.2996, allocations: 19.11 kB / 0.5973 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002262/0.2998, allocations: 192.2 kB / 0.5975 GB, free: 10.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002018/0.3, allocations: 156.3 kB / 0.5977 GB, free: 10.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002859/0.3003, allocations: 177.7 kB / 0.5978 GB, free: 10.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.3003, allocations: 3.984 kB / 0.5978 GB, free: 10.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004349/0.3008, allocations: 247.3 kB / 0.5981 GB, free: 10.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.3008, allocations: 7.812 kB / 0.5981 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.3008, allocations: 1.25 kB / 0.5981 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-06/0.3008, allocations: 2.219 kB / 0.5981 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.301, allocations: 49.97 kB / 0.5981 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.301, allocations: 2.125 kB / 0.5981 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.3013, allocations: 31.66 kB / 0.5982 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.3013, allocations: 8.594 kB / 0.5982 GB, free: 10.25 MB / 446.1 MB 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.087e-05/0.3014, allocations: 200.5 kB / 0.5984 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/0.3015, allocations: 43.75 kB / 0.5984 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.3019, allocations: 252.1 kB / 0.5987 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.3019, allocations: 1.312 kB / 0.5987 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.302, allocations: 5.406 kB / 0.5987 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.302, allocations: 3.984 kB / 0.5987 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007612/0.3027, allocations: 0.7119 MB / 0.5994 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3027, allocations: 1.25 kB / 0.5994 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.3029, allocations: 34.67 kB / 0.5994 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3029, allocations: 2.031 kB / 0.5994 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3029, allocations: 7.25 kB / 0.5994 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3029, allocations: 1.5 kB / 0.5994 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3029, allocations: 5.812 kB / 0.5994 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.3033, allocations: 342.4 kB / 0.5997 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.993e-05/0.3034, allocations: 139.8 kB / 0.5999 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.3035, allocations: 6.438 kB / 0.5999 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.3037, allocations: 18.88 kB / 0.5999 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.3037, allocations: 15.2 kB / 0.5999 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.3037, allocations: 8.656 kB / 0.5999 GB, free: 8.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002619/0.304, allocations: 340.2 kB / 0.6002 GB, free: 8.535 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.304, allocations: 0 / 0.6002 GB, free: 8.535 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005162/0.3045, allocations: 195.7 kB / 0.6004 GB, free: 8.344 MB / 446.1 MB 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.001315/0.3058, allocations: 1.257 MB / 0.6017 GB, free: 7.211 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005317/0.3064, allocations: 275.7 kB / 0.6019 GB, free: 6.941 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3064, allocations: 0 / 0.6019 GB, free: 6.941 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.3066, allocations: 85.25 kB / 0.602 GB, free: 6.859 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009339/0.3075, allocations: 203 kB / 0.6022 GB, free: 6.676 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.3105, allocations: 3.396 MB / 0.6055 GB, free: 3.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.3107, allocations: 0.823 MB / 0.6063 GB, free: 2.328 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002262/0.3109, allocations: 90.7 kB / 0.6064 GB, free: 2.246 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.3111, allocations: 143.4 kB / 0.6065 GB, free: 2.105 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3111, allocations: 0 / 0.6065 GB, free: 2.105 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.756/2.067, allocations: 12.67 MB / 0.6189 GB, free: 5.645 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.042/11.11, allocations: 13.14 kB / 0.6189 GB, free: 5.637 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)