Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.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.WD200,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD200",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Validation.BESTEST.WD200,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD200",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.001099/0.001099, 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.001104/0.001104, allocations: 192.4 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 1.897/1.897, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.512/1.512, allocations: 135.1 MB / 425.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 64.3 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1545, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD200): time 0.01999/0.1746, allocations: 18.22 MB / 0.6023 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3951/0.5697, allocations: 162.6 MB / 0.7611 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003339/0.5731, allocations: 84.84 kB / 0.7612 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.5754, allocations: 0.7934 MB / 0.7619 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005513/0.5809, allocations: 1.695 MB / 0.7636 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007782/0.5887, allocations: 3.985 MB / 0.7675 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.5992, allocations: 9.604 MB / 0.7769 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01148/0.6107, allocations: 9.109 MB / 0.7857 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006982/0.6177, allocations: 5.117 MB / 0.7907 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007063/0.6248, allocations: 5.743 MB / 0.7964 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003854/0.6287, allocations: 1.766 MB / 0.7981 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004634/0.6333, allocations: 2.226 MB / 0.8003 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003873/0.6372, allocations: 3.307 MB / 0.8035 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007841/0.6451, allocations: 6.089 MB / 0.8094 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01546/0.6605, allocations: 16.9 MB / 0.8259 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.6606, allocations: 0 / 0.8259 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6606, allocations: 4 kB / 0.8259 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003576/0.6609, allocations: 0 / 0.8259 GB, free: 5.02 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.02392/0.6849, allocations: 10.5 MB / 0.8362 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.6849, allocations: 12.03 kB / 0.8362 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0028/0.6877, allocations: 1.471 MB / 0.8376 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05252/0.7403, allocations: 7.223 MB / 0.8447 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009422/0.7497, allocations: 4.794 MB / 0.8494 GB, free: 12.81 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006804/0.7504, allocations: 0.8391 MB / 0.8502 GB, free: 11.97 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003341/0.7538, allocations: 1.094 MB / 0.8513 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4828/1.237, allocations: 14.54 MB / 0.8655 GB, free: 195.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003061/1.237, allocations: 10.38 kB / 0.8655 GB, free: 195.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002241/1.239, allocations: 472.4 kB / 0.8659 GB, free: 195.4 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/1.239, allocations: 280.2 kB / 0.8662 GB, free: 195.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04793/1.287, allocations: 16.17 MB / 0.882 GB, free: 190.7 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07467/1.362, allocations: 35.18 MB / 0.9163 GB, free: 174.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03426/1.396, allocations: 9.807 MB / 0.9259 GB, free: 169.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0176/1.414, allocations: 5.181 MB / 0.931 GB, free: 167.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/1.416, allocations: 0.6793 MB / 0.9316 GB, free: 166.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02088/1.437, allocations: 5.939 MB / 0.9374 GB, free: 163 MB / 0.67 GB Notification: Performance of pre-optimization done (n=689): time 1.803e-05/1.437, allocations: 0 / 0.9374 GB, free: 163 MB / 0.67 GB Notification: Performance of matching and sorting (n=689): time 0.05408/1.491, allocations: 14.86 MB / 0.9519 GB, free: 155.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.491, allocations: 359.2 kB / 0.9523 GB, free: 155 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004806/1.496, allocations: 3.238 MB / 0.9554 GB, free: 153.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001739/1.498, allocations: 142.4 kB / 0.9556 GB, free: 153.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002308/1.5, allocations: 3.665 MB / 0.9592 GB, free: 150 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002767/1.503, allocations: 2.236 MB / 0.9613 GB, free: 148 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004838/1.508, allocations: 1.203 MB / 0.9625 GB, free: 147.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.156e-05/1.508, allocations: 305.1 kB / 0.9628 GB, free: 147 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01438/1.522, allocations: 4.334 MB / 0.967 GB, free: 143.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01449/1.536, allocations: 4.91 MB / 0.9718 GB, free: 138.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0279/1.564, allocations: 9.119 MB / 0.9807 GB, free: 129.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/1.564, allocations: 4 kB / 0.9807 GB, free: 129.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.03292/1.597, allocations: 10.53 MB / 0.991 GB, free: 118.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/1.597, allocations: 8 kB / 0.991 GB, free: 118.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/1.597, allocations: 4 kB / 0.991 GB, free: 118.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/1.598, allocations: 189.7 kB / 0.9912 GB, free: 118.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01244/1.611, allocations: 1.974 MB / 0.9931 GB, free: 116.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003245/1.614, allocations: 3.262 MB / 0.9963 GB, free: 112.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/1.624, allocations: 1.122 MB / 0.9974 GB, free: 111.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001422/1.626, allocations: 315.6 kB / 0.9977 GB, free: 111.5 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.004771/1.631, allocations: 1.551 MB / 0.9992 GB, free: 109.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001934/1.633, allocations: 0.4977 MB / 0.9997 GB, free: 109.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03924/1.672, allocations: 12.35 MB / 1.012 GB, free: 96.96 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.731e-05/1.672, allocations: 68 kB / 1.012 GB, free: 96.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/1.672, allocations: 9.25 kB / 1.012 GB, free: 96.89 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-05/1.672, allocations: 35.86 kB / 1.012 GB, free: 96.86 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04599/1.718, allocations: 21.94 MB / 1.033 GB, free: 74.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/1.718, allocations: 0 / 1.033 GB, free: 74.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01114/1.729, allocations: 1.849 MB / 1.035 GB, free: 73.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008827/1.73, allocations: 158.5 kB / 1.035 GB, free: 72.88 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007215/1.731, allocations: 223.7 kB / 1.035 GB, free: 72.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002937/1.734, allocations: 3.323 MB / 1.039 GB, free: 69.05 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.734, allocations: 0 / 1.039 GB, free: 69.05 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03052/1.764, allocations: 10.5 MB / 1.049 GB, free: 58.46 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/1.767, allocations: 1.761 MB / 1.051 GB, free: 56.67 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001717/1.769, allocations: 163.4 kB / 1.051 GB, free: 56.51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009752/1.779, allocations: 0.7636 MB / 1.052 GB, free: 55.75 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00077/1.779, allocations: 417.5 kB / 1.052 GB, free: 55.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006886/1.78, allocations: 275.8 kB / 1.052 GB, free: 55.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003712/1.784, allocations: 2.43 MB / 1.055 GB, free: 52.63 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/1.784, allocations: 0 / 1.055 GB, free: 52.63 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005129/1.789, allocations: 2.339 MB / 1.057 GB, free: 50.3 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.034/1.823, allocations: 11.77 MB / 1.068 GB, free: 38.68 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.07255/1.895, allocations: 12.18 MB / 1.08 GB, free: 26.52 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/1.896, allocations: 0 / 1.08 GB, free: 26.52 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01688/1.912, allocations: 5.712 MB / 1.086 GB, free: 20.78 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006307/1.919, allocations: 0.9272 MB / 1.087 GB, free: 19.89 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3774/2.296, allocations: 71.84 MB / 1.157 GB, free: 189.4 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/2.3, allocations: 3.942 MB / 1.161 GB, free: 188.5 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.01068/2.31, allocations: 1.731 MB / 1.163 GB, free: 188 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006023/2.316, allocations: 4.264 MB / 1.167 GB, free: 184.6 MB / 0.6857 GB Notification: Performance of SimCode: time 1.002e-06/2.316, allocations: 0 / 1.167 GB, free: 184.6 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1683/2.485, allocations: 138 MB / 1.301 GB, free: 74.67 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.86/32.34, allocations: 3.938 kB / 1.301 GB, free: 74.67 MB / 0.6857 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200_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_WD200.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD200.pipe 2>&1)