Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",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.0008192/0.000819, allocations: 98.58 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.000821/0.000821, allocations: 182.2 kB / 16.92 MB, free: 6.773 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.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6816/0.6816, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002985, allocations: 8 kB / 496 MB, free: 6.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1557, allocations: 77.53 MB / 0.56 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.3531/0.5088, allocations: 74.98 MB / 0.6333 GB, free: 4.566 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02586/0.5347, allocations: 19.86 MB / 0.6527 GB, free: 4.984 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002683/0.5374, allocations: 70.38 kB / 0.6527 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.5398, allocations: 0.8065 MB / 0.6535 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006774/0.5466, allocations: 2.636 MB / 0.6561 GB, free: 2.172 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004765/0.5514, allocations: 1.897 MB / 0.6579 GB, free: 0.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007448/0.5588, allocations: 6.726 MB / 0.6645 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/0.5612, allocations: 1.366 MB / 0.6658 GB, free: 10.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003711/0.565, allocations: 1.758 MB / 0.6676 GB, free: 8.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/0.5676, allocations: 1.427 MB / 0.669 GB, free: 6.973 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004367/0.568, allocations: 72 kB / 0.669 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004635/0.5727, allocations: 1.785 MB / 0.6708 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006331/0.5733, allocations: 366.2 kB / 0.6711 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.5752, allocations: 0.9885 MB / 0.6721 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005796/0.581, allocations: 3.341 MB / 0.6753 GB, free: 412 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.581, allocations: 0 / 0.6753 GB, free: 412 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5811, allocations: 0 / 0.6753 GB, free: 412 kB / 494.1 MB Notification: Performance of Transformations before backend: time 9.385e-05/0.5811, allocations: 0 / 0.6753 GB, free: 412 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004755/0.5859, allocations: 2.124 MB / 0.6774 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.586, allocations: 12.03 kB / 0.6774 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003604/0.5863, allocations: 182.2 kB / 0.6776 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.5884, allocations: 445 kB / 0.678 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.5921, allocations: 1.777 MB / 0.6798 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-05/0.5922, allocations: 94.44 kB / 0.6799 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/0.5925, allocations: 124 kB / 0.68 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/0.5952, allocations: 1.444 MB / 0.6814 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.5953, allocations: 11.84 kB / 0.6814 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.5954, allocations: 59.92 kB / 0.6815 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.346e-05/0.5955, allocations: 35.98 kB / 0.6815 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.5979, allocations: 1.094 MB / 0.6826 GB, free: 8.777 MB / 0.4981 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.009253/0.6072, allocations: 7.863 MB / 0.6902 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003631/0.6108, allocations: 1.078 MB / 0.6913 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008934/0.6118, allocations: 451.8 kB / 0.6917 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/0.6135, allocations: 1.876 MB / 0.6936 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.6146, allocations: 0.5022 MB / 0.694 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=84): time 3.216e-06/0.6146, allocations: 3.938 kB / 0.694 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84): time 0.003136/0.6178, allocations: 1.304 MB / 0.6953 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.6179, allocations: 85.77 kB / 0.6954 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.6204, allocations: 1.39 MB / 0.6968 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.6205, allocations: 45.7 kB / 0.6968 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007677/0.6213, allocations: 0.8217 MB / 0.6976 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/0.6216, allocations: 295.8 kB / 0.6979 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.6217, allocations: 85.67 kB / 0.698 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.6219, allocations: 341.9 kB / 0.6983 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008661/0.6227, allocations: 374.4 kB / 0.6987 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.6239, allocations: 0.6832 MB / 0.6993 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002037/0.6259, allocations: 1.083 MB / 0.7004 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.6259, allocations: 7.938 kB / 0.7004 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002828/0.6288, allocations: 1.261 MB / 0.7016 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002922/0.6291, allocations: 367.8 kB / 0.702 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/0.6291, allocations: 12 kB / 0.702 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.6292, allocations: 12 kB / 0.702 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009505/0.6301, allocations: 251.6 kB / 0.7022 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.157e-05/0.6302, allocations: 23.92 kB / 0.7023 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.6317, allocations: 194.8 kB / 0.7024 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.6319, allocations: 51.98 kB / 0.7025 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.6319, allocations: 7.938 kB / 0.7025 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002277/0.6342, allocations: 1.093 MB / 0.7036 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.6342, allocations: 16.16 kB / 0.7036 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.6342, allocations: 12 kB / 0.7036 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/0.6352, allocations: 251.6 kB / 0.7038 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.6352, allocations: 23.92 kB / 0.7039 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.6366, allocations: 179 kB / 0.704 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.6367, allocations: 55.97 kB / 0.7041 GB, free: 1.234 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * 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 prepare postOptimizeDAE: time 0.0007927/0.6375, allocations: 444.8 kB / 0.7045 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003904/0.6379, allocations: 173.8 kB / 0.7047 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003087/0.641, allocations: 1.473 MB / 0.7061 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.641, allocations: 15.98 kB / 0.7061 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.641, allocations: 0 / 0.7061 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001992/0.643, allocations: 1.117 MB / 0.7072 GB, free: 13.99 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 postOpt removeSimpleEquations (simulation): time 0.004893/0.6479, allocations: 2.946 MB / 0.7101 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.648, allocations: 0 / 0.7101 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.6488, allocations: 187.8 kB / 0.7103 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.6488, allocations: 8.094 kB / 0.7103 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/0.6488, allocations: 31.98 kB / 0.7103 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.188e-06/0.6489, allocations: 11.88 kB / 0.7103 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6489, allocations: 0 / 0.7103 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/0.6522, allocations: 1.923 MB / 0.7122 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006739/0.6529, allocations: 410.5 kB / 0.7126 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.6531, allocations: 24 kB / 0.7126 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.6542, allocations: 127.8 kB / 0.7127 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.6543, allocations: 80.77 kB / 0.7128 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.441e-05/0.6544, allocations: 47.97 kB / 0.7129 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001311/0.6557, allocations: 0.9279 MB / 0.7138 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6557, allocations: 4 kB / 0.7138 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002468/0.6582, allocations: 0.9822 MB / 0.7147 GB, free: 6.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (pipe.del.x,pipe.timDel.x,pipe.vol_b.dynBal.U,pipe.vol_a.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * 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.005465/0.6637, allocations: 3.362 MB / 0.718 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003288/0.667, allocations: 1.715 MB / 0.7197 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.667, allocations: 0 / 0.7197 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.668, allocations: 0.6229 MB / 0.7203 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/0.6718, allocations: 0.7363 MB / 0.721 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/0.695, allocations: 13.14 MB / 0.7338 GB, free: 1.949 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009166/0.696, allocations: 1.327 MB / 0.7351 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001739/0.6977, allocations: 458.6 kB / 0.7356 GB, free: 160 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009676/0.6987, allocations: 0.7336 MB / 0.7363 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.6987, allocations: 0 / 0.7363 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08194/0.7807, allocations: 46.43 MB / 0.7816 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/0.781, allocations: 265.2 kB / 0.7819 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.996/3.777, allocations: 0 / 0.7819 GB, free: 1.281 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)