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.0009113/0.0009114, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008212/0.0008213, allocations: 181.1 kB / 16.92 MB, free: 6.922 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.267/1.267, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6567/0.6567, allocations: 115.5 MB / 407.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003135, allocations: 10.78 kB / 496 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 77.52 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01462/0.146, allocations: 14.94 MB / 0.5746 GB, free: 9.945 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005575/0.1516, allocations: 4.302 MB / 0.5788 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005052/0.1522, allocations: 19.88 kB / 0.5789 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008245/0.153, allocations: 214.9 kB / 0.5791 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.1544, allocations: 0.5513 MB / 0.5796 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.1559, allocations: 0.6259 MB / 0.5802 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001364/0.1573, allocations: 1.313 MB / 0.5815 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005871/0.1579, allocations: 280.2 kB / 0.5818 GB, free: 2.641 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007509/0.1587, allocations: 386.2 kB / 0.5821 GB, free: 2.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.1592, allocations: 318.5 kB / 0.5824 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.499e-05/0.1592, allocations: 12 kB / 0.5824 GB, free: 1.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000974/0.1602, allocations: 0.6043 MB / 0.583 GB, free: 1.332 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1603, allocations: 87.61 kB / 0.5831 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.1606, allocations: 236.4 kB / 0.5833 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009121/0.1615, allocations: 0.7359 MB / 0.5841 GB, free: 276 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1615, allocations: 0 / 0.5841 GB, free: 276 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1615, allocations: 0 / 0.5841 GB, free: 276 kB / 446.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.1615, allocations: 4 kB / 0.5841 GB, free: 272 kB / 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.2071/0.3686, allocations: 0.7455 MB / 0.5848 GB, free: 32.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3687, allocations: 9.469 kB / 0.5848 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.289e-05/0.3688, allocations: 55.67 kB / 0.5849 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.3689, allocations: 61.5 kB / 0.5849 GB, free: 32.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/0.3695, allocations: 413.3 kB / 0.5853 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.3695, allocations: 20.78 kB / 0.5853 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.3696, allocations: 29.34 kB / 0.5854 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.37, allocations: 221.1 kB / 0.5856 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3701, allocations: 3.938 kB / 0.5856 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.3701, allocations: 7.062 kB / 0.5856 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3701, allocations: 5.406 kB / 0.5856 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.3705, allocations: 180.9 kB / 0.5858 GB, free: 32.48 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.001594/0.3721, allocations: 0.9476 MB / 0.5867 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.3724, allocations: 134.9 kB / 0.5868 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.3726, allocations: 80.59 kB / 0.5869 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.3728, allocations: 335.9 kB / 0.5872 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.3728, allocations: 31.95 kB / 0.5872 GB, free: 31.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.3728, allocations: 2.344 kB / 0.5872 GB, free: 31.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.000632/0.3735, allocations: 261 kB / 0.5875 GB, free: 31.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.3735, allocations: 52.88 kB / 0.5875 GB, free: 31.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000556/0.374, allocations: 476 kB / 0.588 GB, free: 31.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.3741, allocations: 32.52 kB / 0.588 GB, free: 31.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.3743, allocations: 230.1 kB / 0.5882 GB, free: 31.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.3743, allocations: 51.91 kB / 0.5883 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.3743, allocations: 27.05 kB / 0.5883 GB, free: 31.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.3744, allocations: 352.7 kB / 0.5887 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.3746, allocations: 72.55 kB / 0.5887 GB, free: 30.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.3749, allocations: 160.4 kB / 0.5889 GB, free: 30.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.3753, allocations: 174 kB / 0.589 GB, free: 30.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3753, allocations: 0 / 0.589 GB, free: 30.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005348/0.3758, allocations: 268.9 kB / 0.5893 GB, free: 30.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.3759, allocations: 116.6 kB / 0.5894 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3759, allocations: 1.344 kB / 0.5894 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3759, allocations: 2.141 kB / 0.5894 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.3761, allocations: 45.08 kB / 0.5895 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3762, allocations: 2.609 kB / 0.5895 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/0.3765, allocations: 47.83 kB / 0.5895 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.3766, allocations: 12.92 kB / 0.5895 GB, free: 30.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/0.3766, allocations: 3.062 kB / 0.5895 GB, free: 30.51 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004235/0.377, allocations: 192.2 kB / 0.5897 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.377, allocations: 5.344 kB / 0.5897 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-06/0.377, allocations: 1.656 kB / 0.5897 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.3772, allocations: 46.89 kB / 0.5898 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3772, allocations: 6.141 kB / 0.5898 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.3776, allocations: 44.17 kB / 0.5898 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.3776, allocations: 9.344 kB / 0.5898 GB, free: 30.44 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 0.0001508/0.3778, allocations: 238 kB / 0.59 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.3778, allocations: 46.83 kB / 0.5901 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006165/0.3785, allocations: 268.2 kB / 0.5903 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3785, allocations: 7.359 kB / 0.5903 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3785, allocations: 0 / 0.5903 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3785, allocations: 1.828 kB / 0.5903 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.3795, allocations: 0.7104 MB / 0.591 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3795, allocations: 1.5 kB / 0.591 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.3797, allocations: 33.77 kB / 0.5911 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3797, allocations: 5.656 kB / 0.5911 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.3797, allocations: 7.578 kB / 0.5911 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3797, allocations: 2.828 kB / 0.5911 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3797, allocations: 5.438 kB / 0.5911 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.3802, allocations: 357.3 kB / 0.5914 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.3803, allocations: 150.7 kB / 0.5916 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.3804, allocations: 3.922 kB / 0.5916 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.3806, allocations: 26.34 kB / 0.5916 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.3807, allocations: 15.38 kB / 0.5916 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3807, allocations: 10.5 kB / 0.5916 GB, free: 29.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003716/0.3811, allocations: 332.9 kB / 0.5919 GB, free: 29.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3811, allocations: 0 / 0.5919 GB, free: 29.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006393/0.3817, allocations: 200.2 kB / 0.5921 GB, free: 29.04 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.00154/0.3833, allocations: 1.26 MB / 0.5934 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006462/0.3839, allocations: 280.5 kB / 0.5936 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3839, allocations: 0 / 0.5936 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.3841, allocations: 93.7 kB / 0.5937 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.3855, allocations: 220.6 kB / 0.5939 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/0.3901, allocations: 3.555 MB / 0.5974 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.3903, allocations: 0.8229 MB / 0.5982 GB, free: 25.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000336/0.3907, allocations: 86.95 kB / 0.5983 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.3909, allocations: 143.1 kB / 0.5984 GB, free: 25 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3909, allocations: 1.219 kB / 0.5984 GB, free: 25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.4172, allocations: 12.15 MB / 0.6103 GB, free: 21.21 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.4174, allocations: 254 kB / 0.6105 GB, free: 20.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.445, allocations: 4 kB / 0.6105 GB, free: 20.95 MB / 446.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)