Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 173.7 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7903/0.7903, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008809/0.0008809, allocations: 98.73 kB / 478.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.876e-05/1.878e-05, allocations: 0 / 0.5535 GB, free: 9.008 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4494, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.007/4.457, allocations: 1.715 GB / 2.349 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/4.457, allocations: 82.14 kB / 2.349 GB, free: 22.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.962/6.419, allocations: 406.2 MB / 2.746 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.775e-06/6.419, allocations: 0 / 2.746 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0008845/6.42, allocations: 165.2 kB / 2.746 GB, free: 143.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.02793/6.448, allocations: 6.325 MB / 2.752 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7e-05/6.448, allocations: 12.03 kB / 2.752 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04347/6.492, allocations: 6.309 MB / 2.758 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01283/6.504, allocations: 3.675 MB / 2.762 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006838/6.505, allocations: 268 kB / 2.762 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004911/6.51, allocations: 472 kB / 2.762 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03394/6.544, allocations: 10.64 MB / 2.773 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03931/6.583, allocations: 8.79 MB / 2.781 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003839/6.584, allocations: 3.609 kB / 2.781 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004029/6.588, allocations: 0 / 2.781 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/6.588, allocations: 204 kB / 2.781 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07917/6.667, allocations: 27.35 MB / 2.808 GB, free: 95.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/6.681, allocations: 7.129 MB / 2.815 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007441/6.688, allocations: 3.775 MB / 2.819 GB, free: 84.94 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001471/6.69, allocations: 0.6798 MB / 2.82 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01047/6.7, allocations: 4.52 MB / 2.824 GB, free: 79.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=689): time 1.479e-05/6.7, allocations: 2.906 kB / 2.824 GB, free: 79.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=689): time 0.051/6.752, allocations: 12.93 MB / 2.837 GB, free: 66.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/6.752, allocations: 463 kB / 2.837 GB, free: 66.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004105/6.756, allocations: 2.084 MB / 2.839 GB, free: 64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.003019/6.759, allocations: 33.7 kB / 2.839 GB, free: 63.96 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002789/6.762, allocations: 2.656 MB / 2.842 GB, free: 61.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0046/6.766, allocations: 2.143 MB / 2.844 GB, free: 59.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/6.768, allocations: 0 / 2.844 GB, free: 59.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003907/6.768, allocations: 0.5187 MB / 2.844 GB, free: 58.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005956/6.774, allocations: 3.003 MB / 2.847 GB, free: 55.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007004/6.781, allocations: 3.535 MB / 2.851 GB, free: 51.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03206/6.813, allocations: 8.786 MB / 2.859 GB, free: 43.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.708e-05/6.813, allocations: 0 / 2.859 GB, free: 43.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.04391/6.857, allocations: 13.24 MB / 2.872 GB, free: 29.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/6.857, allocations: 9.562 kB / 2.872 GB, free: 29.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/6.857, allocations: 4 kB / 2.872 GB, free: 29.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/6.858, allocations: 185.8 kB / 2.872 GB, free: 29.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0134/6.872, allocations: 1.993 MB / 2.874 GB, free: 27.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/6.875, allocations: 2.918 MB / 2.877 GB, free: 24.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/6.886, allocations: 0.9397 MB / 2.878 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002747/6.889, allocations: 311.6 kB / 2.878 GB, free: 23.31 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition2,$whenCondition1,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,$PRE.weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 754 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002113/6.891, allocations: 202.8 kB / 2.879 GB, free: 23.18 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04374/6.935, allocations: 12.92 MB / 2.891 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002377/6.937, allocations: 450.3 kB / 2.892 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0529/6.99, allocations: 15.01 MB / 2.906 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.357e-05/6.991, allocations: 76 kB / 2.906 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/6.991, allocations: 0 / 2.906 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001522/6.991, allocations: 39.81 kB / 2.906 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6386/7.629, allocations: 22.67 MB / 2.928 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.77e-05/7.629, allocations: 0.6562 kB / 2.928 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01389/7.643, allocations: 1.878 MB / 2.93 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/7.644, allocations: 184.1 kB / 2.931 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002639/7.647, allocations: 147.2 kB / 2.931 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003131/7.65, allocations: 2.965 MB / 2.934 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/7.65, allocations: 0 / 2.934 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04894/7.699, allocations: 13.24 MB / 2.946 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005301/7.705, allocations: 1.836 MB / 2.948 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002057/7.707, allocations: 3.344 kB / 2.948 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009962/7.717, allocations: 0.6758 MB / 2.949 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/7.718, allocations: 420.2 kB / 2.949 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008503/7.719, allocations: 282.6 kB / 2.95 GB, free: 139.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003373/7.722, allocations: 1.768 MB / 2.951 GB, free: 139.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/7.722, allocations: 0 / 2.951 GB, free: 139.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008005/7.73, allocations: 1.859 MB / 2.953 GB, free: 139.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 4 (weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (731): * Single equations (assignments): 725 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.04939/7.779, allocations: 15.08 MB / 2.968 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02131/7.801, allocations: 7.777 MB / 2.975 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/7.801, allocations: 0 / 2.975 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01129/7.812, allocations: 4.337 MB / 2.98 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007515/7.82, allocations: 0.5687 MB / 2.98 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03369/7.854, allocations: 11.15 MB / 2.991 GB, free: 135.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003291/7.857, allocations: 3.436 MB / 2.995 GB, free: 134.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01422/7.871, allocations: 1.683 MB / 2.996 GB, free: 133.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008467/7.88, allocations: 3.311 MB / 2.999 GB, free: 133.8 MB / 0.698 GB Notification: Performance of SimCode: time 3.877e-06/7.88, allocations: 0 / 2.999 GB, free: 133.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2113/8.091, allocations: 130.9 MB / 3.127 GB, free: 47.32 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/8.091, allocations: 164.7 kB / 3.127 GB, free: 47.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/15.03, allocations: 0 / 3.127 GB, free: 47.12 MB / 0.698 GB (rm -f IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_Validation_BESTEST_WD500_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_Validation_BESTEST_WD500.fmu > IDEAS_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1)