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.00433/0.00433, allocations: 100.1 kB / 15.73 MB, free: 6.445 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.001324/0.001324, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9042/0.9042, allocations: 135.1 MB / 425.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.09 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3362, allocations: 80.92 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD500): time 0.01649/0.3527, allocations: 18.23 MB / 0.682 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1641/0.5168, allocations: 162.6 MB / 0.8408 GB, free: 12.06 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004028/0.5209, allocations: 79.69 kB / 0.8409 GB, free: 11.98 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.5231, allocations: 0.8033 MB / 0.8416 GB, free: 11.17 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00537/0.5285, allocations: 1.744 MB / 0.8433 GB, free: 9.414 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006697/0.5352, allocations: 4.011 MB / 0.8473 GB, free: 5.414 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008945/0.5442, allocations: 9.657 MB / 0.8567 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009158/0.5533, allocations: 9.106 MB / 0.8656 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3277/0.8811, allocations: 5.203 MB / 0.8707 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006857/0.888, allocations: 5.777 MB / 0.8763 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003782/0.8918, allocations: 1.765 MB / 0.878 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004263/0.896, allocations: 2.256 MB / 0.8802 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002034/0.8981, allocations: 3.309 MB / 0.8835 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004987/0.9031, allocations: 6.078 MB / 0.8894 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0148/0.9179, allocations: 17.26 MB / 0.9063 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9179, allocations: 1.031 kB / 0.9063 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9179, allocations: 0 / 0.9063 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004896/0.9184, allocations: 1.656 kB / 0.9063 GB, free: 7.316 MB / 0.6856 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.02308/0.9415, allocations: 10.77 MB / 0.9168 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.9416, allocations: 11.31 kB / 0.9168 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001626/0.9432, allocations: 1.471 MB / 0.9182 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0518/0.995, allocations: 7.285 MB / 0.9253 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009805/1.005, allocations: 4.97 MB / 0.9302 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004391/1.005, allocations: 0.8431 MB / 0.931 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002164/1.007, allocations: 1.094 MB / 0.9321 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03613/1.044, allocations: 14.55 MB / 0.9463 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001855/1.044, allocations: 3.562 kB / 0.9463 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001253/1.045, allocations: 472.8 kB / 0.9468 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/1.045, allocations: 282.6 kB / 0.947 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04823/1.093, allocations: 16.17 MB / 0.9628 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07029/1.164, allocations: 34.75 MB / 0.9968 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03137/1.195, allocations: 9.803 MB / 1.006 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0154/1.211, allocations: 5.189 MB / 1.011 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/1.212, allocations: 0.6758 MB / 1.012 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01735/1.229, allocations: 5.955 MB / 1.018 GB, free: 4.012 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=689): time 9.648e-06/1.229, allocations: 0 / 1.018 GB, free: 4.012 MB / 0.7637 GB Notification: Performance of matching and sorting (n=689): time 0.05016/1.279, allocations: 14.87 MB / 1.032 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/1.28, allocations: 360.1 kB / 1.033 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005116/1.285, allocations: 3.246 MB / 1.036 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0006937/1.285, allocations: 142.4 kB / 1.036 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003132/1.289, allocations: 3.774 MB / 1.04 GB, free: 13.39 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002199/1.291, allocations: 2.35 MB / 1.042 GB, free: 11.07 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002722/1.293, allocations: 1.203 MB / 1.043 GB, free: 9.859 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.757e-05/1.294, allocations: 305.1 kB / 1.043 GB, free: 9.559 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01487/1.308, allocations: 4.333 MB / 1.048 GB, free: 5.219 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01537/1.324, allocations: 4.913 MB / 1.053 GB, free: 216 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02986/1.354, allocations: 9.123 MB / 1.061 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/1.354, allocations: 4 kB / 1.061 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.03394/1.388, allocations: 10.56 MB / 1.072 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/1.388, allocations: 8 kB / 1.072 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/1.388, allocations: 4 kB / 1.072 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/1.389, allocations: 189.8 kB / 1.072 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01275/1.402, allocations: 1.973 MB / 1.074 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00397/1.406, allocations: 3.258 MB / 1.077 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009751/1.415, allocations: 1.135 MB / 1.078 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008218/1.416, allocations: 315.6 kB / 1.078 GB, free: 5.301 MB / 0.8262 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.00398/1.42, allocations: 1.553 MB / 1.08 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/1.422, allocations: 0.524 MB / 1.08 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03948/1.461, allocations: 12.34 MB / 1.093 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-05/1.461, allocations: 72 kB / 1.093 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.461, allocations: 0 / 1.093 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.489e-05/1.461, allocations: 31.88 kB / 1.093 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05028/1.512, allocations: 21.88 MB / 1.114 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/1.512, allocations: 0 / 1.114 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01238/1.524, allocations: 1.839 MB / 1.116 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009318/1.525, allocations: 168.8 kB / 1.116 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008159/1.526, allocations: 223.7 kB / 1.116 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003812/1.53, allocations: 3.318 MB / 1.119 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.53, allocations: 3.938 kB / 1.119 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0345/1.564, allocations: 10.53 MB / 1.13 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003809/1.568, allocations: 1.795 MB / 1.131 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001512/1.57, allocations: 163.6 kB / 1.132 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00941/1.579, allocations: 0.7531 MB / 1.132 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000836/1.58, allocations: 420.8 kB / 1.133 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008069/1.581, allocations: 275.7 kB / 1.133 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.004251/1.585, allocations: 2.425 MB / 1.135 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.4e-07/1.585, allocations: 0 / 1.135 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005769/1.591, allocations: 2.37 MB / 1.138 GB, free: 8.301 MB / 0.8887 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.03629/1.627, allocations: 11.81 MB / 1.149 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.03265/1.66, allocations: 10.54 MB / 1.16 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.66, allocations: 0 / 1.16 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.01662/1.676, allocations: 5.716 MB / 1.165 GB, free: 12.55 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005455/1.682, allocations: 0.935 MB / 1.166 GB, free: 11.66 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4189/2.101, allocations: 57.73 MB / 1.222 GB, free: 429.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004558/2.105, allocations: 3.943 MB / 1.226 GB, free: 428.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.01169/2.117, allocations: 1.728 MB / 1.228 GB, free: 428.4 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008795/2.126, allocations: 4.262 MB / 1.232 GB, free: 425.1 MB / 0.9512 GB Notification: Performance of SimCode: time 1.252e-06/2.126, allocations: 0 / 1.232 GB, free: 425.1 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1931/2.319, allocations: 135.4 MB / 1.364 GB, free: 308.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.24/27.55, allocations: 11.56 kB / 1.364 GB, free: 308.7 MB / 0.9512 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD500.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1)