Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IBPSA_latest_IBPSA_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.001415/0.001415, allocations: 106.2 kB / 15.98 MB, free: 5.906 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.001446/0.001446, allocations: 193.5 kB / 16.91 MB, free: 5.758 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.294/1.294, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6655/0.6655, allocations: 115.3 MB / 406.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.91 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.293, allocations: 76.17 MB / 0.556 GB, free: 36.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01458/0.3076, allocations: 17.34 MB / 0.573 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005454/0.3131, allocations: 4.884 MB / 0.5777 GB, free: 20.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005161/0.3137, allocations: 15.81 kB / 0.5777 GB, free: 20.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007404/0.3144, allocations: 219.6 kB / 0.5779 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.3158, allocations: 0.5575 MB / 0.5785 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.3174, allocations: 0.6634 MB / 0.5791 GB, free: 19.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009753/0.3184, allocations: 0.9801 MB / 0.5801 GB, free: 19.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.3188, allocations: 334.9 kB / 0.5804 GB, free: 19.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005587/0.3194, allocations: 413.8 kB / 0.5808 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.3197, allocations: 325.1 kB / 0.5811 GB, free: 19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.3198, allocations: 33.62 kB / 0.5812 GB, free: 19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.3208, allocations: 0.7288 MB / 0.5819 GB, free: 18.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.321, allocations: 139.4 kB / 0.582 GB, free: 18.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.3211, allocations: 243.1 kB / 0.5822 GB, free: 18.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.3222, allocations: 0.8647 MB / 0.5831 GB, free: 18.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3222, allocations: 3.281 kB / 0.5831 GB, free: 18.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3222, allocations: 0 / 0.5831 GB, free: 18.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.3222, allocations: 3.938 kB / 0.5831 GB, free: 18.23 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001017/0.3232, allocations: 0.8852 MB / 0.5839 GB, free: 17.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3233, allocations: 9.094 kB / 0.584 GB, free: 17.54 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.3233, allocations: 63.42 kB / 0.584 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.3235, allocations: 57.11 kB / 0.5841 GB, free: 17.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.3239, allocations: 453.5 kB / 0.5845 GB, free: 17.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.324, allocations: 20.75 kB / 0.5845 GB, free: 17.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.324, allocations: 32.19 kB / 0.5846 GB, free: 17.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.3245, allocations: 280.8 kB / 0.5848 GB, free: 16.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3245, allocations: 1.75 kB / 0.5848 GB, free: 16.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.3245, allocations: 14.28 kB / 0.5848 GB, free: 16.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3245, allocations: 5.969 kB / 0.5848 GB, free: 16.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.3249, allocations: 191 kB / 0.585 GB, free: 16.89 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.001473/0.3264, allocations: 1.469 MB / 0.5865 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.3267, allocations: 165.9 kB / 0.5866 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.3269, allocations: 79.39 kB / 0.5867 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/0.3281, allocations: 1.282 MB / 0.5879 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.3282, allocations: 36.73 kB / 0.588 GB, free: 14.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.3282, allocations: 3.938 kB / 0.588 GB, free: 14.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005657/0.3287, allocations: 243.5 kB / 0.5882 GB, free: 14.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.3288, allocations: 66.11 kB / 0.5883 GB, free: 14.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.3294, allocations: 0.5835 MB / 0.5888 GB, free: 13.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3294, allocations: 31.48 kB / 0.5889 GB, free: 13.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3295, allocations: 266.7 kB / 0.5891 GB, free: 13.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.3296, allocations: 55.31 kB / 0.5892 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/0.3297, allocations: 65.52 kB / 0.5892 GB, free: 13.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.3297, allocations: 361.5 kB / 0.5896 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.3299, allocations: 79.89 kB / 0.5897 GB, free: 13.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.3302, allocations: 209.7 kB / 0.5899 GB, free: 13.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.3305, allocations: 241.4 kB / 0.5901 GB, free: 12.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3305, allocations: 1.531 kB / 0.5901 GB, free: 12.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005238/0.331, allocations: 315.2 kB / 0.5904 GB, free: 12.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3311, allocations: 10.28 kB / 0.5904 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3311, allocations: 2.125 kB / 0.5904 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3311, allocations: 5.047 kB / 0.5904 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.3314, allocations: 60.39 kB / 0.5905 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3314, allocations: 4.141 kB / 0.5905 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.3317, allocations: 48.64 kB / 0.5905 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.3317, allocations: 13.75 kB / 0.5905 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002659/0.332, allocations: 222.4 kB / 0.5908 GB, free: 12.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002337/0.3323, allocations: 211.8 kB / 0.591 GB, free: 12.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003312/0.3326, allocations: 230.6 kB / 0.5912 GB, free: 12.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.043e-06/0.3326, allocations: 0.875 kB / 0.5912 GB, free: 12.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005078/0.3331, allocations: 307.9 kB / 0.5915 GB, free: 12.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.3331, allocations: 11.69 kB / 0.5915 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3331, allocations: 3.156 kB / 0.5915 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.3332, allocations: 4.156 kB / 0.5915 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.3334, allocations: 60.28 kB / 0.5915 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3334, allocations: 4.938 kB / 0.5915 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.3337, allocations: 49.75 kB / 0.5916 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.3338, allocations: 11.94 kB / 0.5916 GB, free: 12.17 MB / 446.1 MB 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 7.712e-05/0.3339, allocations: 200.5 kB / 0.5918 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.3339, allocations: 57.41 kB / 0.5919 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.3344, allocations: 269.2 kB / 0.5921 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3344, allocations: 2.75 kB / 0.5921 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3345, allocations: 0 / 0.5921 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3345, allocations: 0 / 0.5921 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008431/0.3353, allocations: 0.7355 MB / 0.5928 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3353, allocations: 5.531 kB / 0.5928 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.3354, allocations: 36.38 kB / 0.5929 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3355, allocations: 1.156 kB / 0.5929 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3355, allocations: 6.938 kB / 0.5929 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3355, allocations: 2.594 kB / 0.5929 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3355, allocations: 1.125 kB / 0.5929 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.3359, allocations: 354.5 kB / 0.5932 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.336, allocations: 148 kB / 0.5934 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/0.3361, allocations: 2.062 kB / 0.5934 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.3363, allocations: 21.2 kB / 0.5934 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.3363, allocations: 15.48 kB / 0.5934 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.3363, allocations: 8.422 kB / 0.5934 GB, free: 10.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003706/0.3367, allocations: 421 kB / 0.5938 GB, free: 10.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3367, allocations: 0 / 0.5938 GB, free: 10.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007468/0.3375, allocations: 235 kB / 0.594 GB, free: 10.43 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 (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.00147/0.339, allocations: 1.275 MB / 0.5953 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006862/0.3397, allocations: 325.5 kB / 0.5956 GB, free: 9.383 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3397, allocations: 3.938 kB / 0.5956 GB, free: 9.379 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.3399, allocations: 95.28 kB / 0.5957 GB, free: 9.336 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.341, allocations: 259.4 kB / 0.5959 GB, free: 9.203 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/0.3458, allocations: 4.141 MB / 0.6 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.3461, allocations: 0.8422 MB / 0.6008 GB, free: 5.523 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005964/0.3467, allocations: 101.5 kB / 0.6009 GB, free: 5.477 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.347, allocations: 164.9 kB / 0.601 GB, free: 5.344 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.347, allocations: 0 / 0.601 GB, free: 5.344 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05791/0.4049, allocations: 14.71 MB / 0.6154 GB, free: 7.211 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/0.4052, allocations: 247.8 kB / 0.6157 GB, free: 6.957 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.43, allocations: 4 kB / 0.6157 GB, free: 6.953 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)