Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD500",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.004976/0.004977, allocations: 98.42 kB / 15.73 MB, free: 6.031 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.001256/0.001257, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8212/0.8212, allocations: 135.6 MB / 426.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 60.81 kB / 0.5857 GB, free: 21.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1387, allocations: 81.04 MB / 0.6649 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD500): time 0.0211/0.1598, allocations: 18.21 MB / 0.6827 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4803/0.6402, allocations: 162.7 MB / 0.8415 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003984/0.6442, allocations: 80.28 kB / 0.8416 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.6466, allocations: 0.7945 MB / 0.8424 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005778/0.6524, allocations: 1.69 MB / 0.844 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008305/0.6607, allocations: 4.002 MB / 0.8479 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01261/0.6734, allocations: 9.649 MB / 0.8573 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01227/0.6857, allocations: 9.112 MB / 0.8662 GB, free: 4 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00775/0.6935, allocations: 5.129 MB / 0.8713 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007556/0.7011, allocations: 5.773 MB / 0.8769 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003283/0.7044, allocations: 1.766 MB / 0.8786 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004117/0.7085, allocations: 2.261 MB / 0.8808 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00345/0.712, allocations: 3.311 MB / 0.8841 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007517/0.7195, allocations: 6.074 MB / 0.89 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01895/0.7385, allocations: 17.26 MB / 0.9068 GB, free: 6.301 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.7385, allocations: 0 / 0.9068 GB, free: 6.301 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7385, allocations: 4 kB / 0.9068 GB, free: 6.297 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005744/0.7391, allocations: 0 / 0.9068 GB, free: 6.297 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2977 * Number of variables: 2977 Notification: Performance of Generate backend data structure: time 0.02552/0.7646, allocations: 10.78 MB / 0.9174 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.7647, allocations: 9.109 kB / 0.9174 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002797/0.7675, allocations: 1.468 MB / 0.9188 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05205/0.8196, allocations: 7.288 MB / 0.9259 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009233/0.8288, allocations: 4.859 MB / 0.9307 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007315/0.8296, allocations: 0.8469 MB / 0.9315 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002931/0.8325, allocations: 1.09 MB / 0.9326 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04223/0.8748, allocations: 14.55 MB / 0.9468 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001899/0.875, allocations: 3.938 kB / 0.9468 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001658/0.8767, allocations: 468 kB / 0.9472 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002321/0.8769, allocations: 280 kB / 0.9475 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05283/0.9298, allocations: 16.17 MB / 0.9633 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07325/1.003, allocations: 34.76 MB / 0.9972 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03371/1.037, allocations: 9.794 MB / 1.007 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0171/1.054, allocations: 5.193 MB / 1.012 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/1.055, allocations: 0.6789 MB / 1.013 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0189/1.074, allocations: 5.946 MB / 1.018 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=689): time 9.067e-06/1.074, allocations: 0 / 1.018 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of matching and sorting (n=689): time 0.05445/1.129, allocations: 14.89 MB / 1.033 GB, free: 4.375 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00025/1.129, allocations: 358.6 kB / 1.033 GB, free: 3.953 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004938/1.134, allocations: 3.238 MB / 1.036 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001323/1.135, allocations: 137.7 kB / 1.037 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003461/1.139, allocations: 3.771 MB / 1.04 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.003218/1.142, allocations: 2.355 MB / 1.042 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002896/1.145, allocations: 1.203 MB / 1.044 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.145, allocations: 305.1 kB / 1.044 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01626/1.161, allocations: 4.333 MB / 1.048 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01753/1.179, allocations: 4.906 MB / 1.053 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03381/1.213, allocations: 9.131 MB / 1.062 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/1.213, allocations: 0 / 1.062 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.5506/1.764, allocations: 10.55 MB / 1.072 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/1.764, allocations: 8.109 kB / 1.072 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/1.764, allocations: 4.781 kB / 1.072 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/1.765, allocations: 186.3 kB / 1.072 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01355/1.778, allocations: 1.976 MB / 1.074 GB, free: 298.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003681/1.782, allocations: 3.258 MB / 1.078 GB, free: 295.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/1.793, allocations: 1.145 MB / 1.079 GB, free: 295.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001677/1.795, allocations: 310 kB / 1.079 GB, free: 295.4 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 12 (weaDatTDryBulTDewPoinOpa.conTim.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDatHHorIR.conTim.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTimMin.tNext,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (758): * Single equations (assignments): 756 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.004498/1.799, allocations: 1.556 MB / 1.08 GB, free: 294.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/1.801, allocations: 0.5256 MB / 1.081 GB, free: 294.9 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03837/1.839, allocations: 12.34 MB / 1.093 GB, free: 290.6 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.565e-05/1.839, allocations: 73.22 kB / 1.093 GB, free: 290.6 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/1.839, allocations: 1.125 kB / 1.093 GB, free: 290.6 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.253e-05/1.839, allocations: 33.66 kB / 1.093 GB, free: 290.6 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04525/1.884, allocations: 21.87 MB / 1.114 GB, free: 281.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-05/1.884, allocations: 0 / 1.114 GB, free: 281.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01135/1.896, allocations: 1.854 MB / 1.116 GB, free: 281.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008584/1.897, allocations: 160.8 kB / 1.116 GB, free: 281.2 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008851/1.898, allocations: 226.1 kB / 1.117 GB, free: 281.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002839/1.9, allocations: 3.325 MB / 1.12 GB, free: 277.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.9, allocations: 0 / 1.12 GB, free: 277.8 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03018/1.931, allocations: 10.54 MB / 1.13 GB, free: 272.4 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002724/1.933, allocations: 1.783 MB / 1.132 GB, free: 271 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/1.935, allocations: 167 kB / 1.132 GB, free: 270.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008489/1.943, allocations: 0.7663 MB / 1.133 GB, free: 270.5 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007259/1.944, allocations: 413.4 kB / 1.133 GB, free: 270.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006459/1.944, allocations: 275.7 kB / 1.133 GB, free: 269.9 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.002785/1.947, allocations: 2.426 MB / 1.136 GB, free: 267.5 MB / 0.8263 GB Notification: Performance of sort global known variables: time 1.5e-07/1.947, allocations: 0 / 1.136 GB, free: 267.5 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.004877/1.952, allocations: 2.366 MB / 1.138 GB, free: 265.4 MB / 0.8263 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03365/1.986, allocations: 11.8 MB / 1.15 GB, free: 253.7 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.02972/2.016, allocations: 10.54 MB / 1.16 GB, free: 243.1 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/2.016, allocations: 0 / 1.16 GB, free: 243.1 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.01463/2.03, allocations: 5.708 MB / 1.166 GB, free: 237.4 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/2.034, allocations: 0.9362 MB / 1.166 GB, free: 236.5 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1208/2.155, allocations: 57.74 MB / 1.223 GB, free: 178.2 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002874/2.158, allocations: 3.943 MB / 1.227 GB, free: 174.3 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.008797/2.167, allocations: 1.73 MB / 1.228 GB, free: 172.5 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006101/2.173, allocations: 4.259 MB / 1.233 GB, free: 168.3 MB / 0.8263 GB Notification: Performance of SimCode: time 8.52e-07/2.173, allocations: 0 / 1.233 GB, free: 168.3 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6907/2.864, allocations: 135.4 MB / 1.365 GB, free: 33.32 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.39/27.25, allocations: 5.75 kB / 1.365 GB, free: 33.32 MB / 0.8263 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD500_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD500.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1)