Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.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.WD400,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD400",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.001367/0.001367, allocations: 108 kB / 15.61 MB, free: 152 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.001805/0.001805, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.287/2.287, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.584/1.584, allocations: 135.1 MB / 425.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002698/0.002698, allocations: 64.22 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2517, allocations: 80.93 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD400): time 0.0412/0.2929, allocations: 18.21 MB / 0.6023 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7126/1.006, allocations: 162.6 MB / 0.7611 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006131/1.012, allocations: 80.03 kB / 0.7612 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004859/1.017, allocations: 0.7979 MB / 0.7619 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01187/1.029, allocations: 1.686 MB / 0.7636 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01562/1.044, allocations: 3.995 MB / 0.7675 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02121/1.066, allocations: 9.596 MB / 0.7768 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0253/1.091, allocations: 9.111 MB / 0.7857 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01446/1.105, allocations: 5.122 MB / 0.7907 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01565/1.121, allocations: 5.736 MB / 0.7963 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.008289/1.129, allocations: 1.766 MB / 0.7981 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009335/1.139, allocations: 2.23 MB / 0.8003 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.007917/1.147, allocations: 3.311 MB / 0.8035 GB, free: 12 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01381/1.161, allocations: 6.085 MB / 0.8094 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.03228/1.193, allocations: 16.89 MB / 0.8259 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/1.193, allocations: 0 / 0.8259 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.234e-06/1.193, allocations: 0 / 0.8259 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0006375/1.194, allocations: 0 / 0.8259 GB, free: 4.941 MB / 0.6387 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.07137/1.265, allocations: 10.51 MB / 0.8362 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001138/1.265, allocations: 8.031 kB / 0.8362 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008852/1.274, allocations: 1.471 MB / 0.8376 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1065/1.381, allocations: 7.223 MB / 0.8447 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01774/1.399, allocations: 4.797 MB / 0.8494 GB, free: 12.72 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001177/1.4, allocations: 0.843 MB / 0.8502 GB, free: 11.88 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005245/1.405, allocations: 1.094 MB / 0.8513 GB, free: 10.79 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.004/2.409, allocations: 14.54 MB / 0.8655 GB, free: 195.3 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003696/2.409, allocations: 4.312 kB / 0.8655 GB, free: 195.3 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004001/2.413, allocations: 472.7 kB / 0.8659 GB, free: 195.3 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002917/2.414, allocations: 279.2 kB / 0.8662 GB, free: 195.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09579/2.509, allocations: 16.17 MB / 0.882 GB, free: 190.6 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1328/2.642, allocations: 35.19 MB / 0.9163 GB, free: 174.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05101/2.693, allocations: 9.803 MB / 0.9259 GB, free: 169.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0293/2.723, allocations: 5.181 MB / 0.931 GB, free: 167.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002011/2.725, allocations: 0.6803 MB / 0.9316 GB, free: 166.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03192/2.757, allocations: 5.939 MB / 0.9374 GB, free: 163 MB / 0.67 GB Notification: Performance of pre-optimization done (n=689): time 2.696e-05/2.757, allocations: 4 kB / 0.9374 GB, free: 163 MB / 0.67 GB Notification: Performance of matching and sorting (n=689): time 0.09407/2.851, allocations: 14.85 MB / 0.9519 GB, free: 155.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/2.851, allocations: 358.9 kB / 0.9523 GB, free: 155.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008136/2.859, allocations: 3.237 MB / 0.9555 GB, free: 153.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002438/2.862, allocations: 138.6 kB / 0.9556 GB, free: 153.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003606/2.865, allocations: 3.675 MB / 0.9592 GB, free: 150.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.004565/2.87, allocations: 2.229 MB / 0.9613 GB, free: 148.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007903/2.878, allocations: 1.203 MB / 0.9625 GB, free: 147.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.515e-05/2.878, allocations: 301.1 kB / 0.9628 GB, free: 147.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02905/2.907, allocations: 4.333 MB / 0.967 GB, free: 143.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03008/2.937, allocations: 4.906 MB / 0.9718 GB, free: 138.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05905/2.996, allocations: 9.123 MB / 0.9807 GB, free: 129.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.48e-05/2.996, allocations: 0 / 0.9807 GB, free: 129.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.07016/3.066, allocations: 10.53 MB / 0.991 GB, free: 118.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/3.067, allocations: 8 kB / 0.991 GB, free: 118.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.95e-05/3.067, allocations: 8.234 kB / 0.991 GB, free: 118.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/3.069, allocations: 189.5 kB / 0.9912 GB, free: 118.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02621/3.095, allocations: 1.974 MB / 0.9932 GB, free: 116.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005822/3.101, allocations: 3.266 MB / 0.9963 GB, free: 112.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01927/3.12, allocations: 1.118 MB / 0.9974 GB, free: 111.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002825/3.123, allocations: 315.6 kB / 0.9977 GB, free: 111.4 MB / 0.67 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.009095/3.132, allocations: 1.544 MB / 0.9992 GB, free: 109.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00327/3.135, allocations: 0.5016 MB / 0.9997 GB, free: 109.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08028/3.216, allocations: 12.35 MB / 1.012 GB, free: 96.93 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001025/3.216, allocations: 75.84 kB / 1.012 GB, free: 96.86 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.265e-05/3.216, allocations: 3.938 kB / 1.012 GB, free: 96.85 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000214/3.216, allocations: 31.88 kB / 1.012 GB, free: 96.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09885/3.315, allocations: 21.95 MB / 1.033 GB, free: 74.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-05/3.315, allocations: 0 / 1.033 GB, free: 74.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02621/3.341, allocations: 1.845 MB / 1.035 GB, free: 72.97 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001657/3.343, allocations: 161.6 kB / 1.035 GB, free: 72.81 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002514/3.346, allocations: 219.7 kB / 1.036 GB, free: 72.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005291/3.351, allocations: 3.33 MB / 1.039 GB, free: 68.98 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/3.351, allocations: 4.062 kB / 1.039 GB, free: 68.97 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06527/3.416, allocations: 10.49 MB / 1.049 GB, free: 58.38 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006812/3.423, allocations: 1.765 MB / 1.051 GB, free: 56.59 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003662/3.427, allocations: 163.6 kB / 1.051 GB, free: 56.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01906/3.446, allocations: 0.7608 MB / 1.052 GB, free: 55.67 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002176/3.448, allocations: 413.5 kB / 1.052 GB, free: 55.26 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002322/3.45, allocations: 275.7 kB / 1.052 GB, free: 54.99 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007135/3.458, allocations: 2.426 MB / 1.055 GB, free: 52.56 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.372e-06/3.458, allocations: 4 kB / 1.055 GB, free: 52.56 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01124/3.469, allocations: 2.331 MB / 1.057 GB, free: 50.23 MB / 0.67 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.07126/3.54, allocations: 11.77 MB / 1.068 GB, free: 38.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.1363/3.677, allocations: 12.18 MB / 1.08 GB, free: 26.43 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/3.677, allocations: 0 / 1.08 GB, free: 26.43 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.02815/3.705, allocations: 5.709 MB / 1.086 GB, free: 20.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01034/3.715, allocations: 0.9273 MB / 1.087 GB, free: 19.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6399/4.355, allocations: 71.84 MB / 1.157 GB, free: 189.2 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007172/4.362, allocations: 3.941 MB / 1.161 GB, free: 188.3 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.02708/4.389, allocations: 1.729 MB / 1.163 GB, free: 187.8 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01371/4.403, allocations: 4.265 MB / 1.167 GB, free: 184.5 MB / 0.6857 GB Notification: Performance of SimCode: time 1.703e-06/4.403, allocations: 0 / 1.167 GB, free: 184.5 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5978/5.001, allocations: 138 MB / 1.301 GB, free: 74.45 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.9/37.9, allocations: 3.125 kB / 1.301 GB, free: 74.45 MB / 0.6857 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400_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_WD400.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1)