Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.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.WD100,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Validation.BESTEST.WD100,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD100",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.004579/0.004583, allocations: 95.3 kB / 15.73 MB, free: 6.484 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.001115/0.001115, allocations: 191.1 kB / 16.67 MB, free: 6.391 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9174/0.9174, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.5851 GB, free: 3.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3332, allocations: 80.93 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD100): time 0.01783/0.3511, allocations: 18.22 MB / 0.6819 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1662/0.5173, allocations: 162.6 MB / 0.8408 GB, free: 12.09 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004035/0.5214, allocations: 83.69 kB / 0.8408 GB, free: 12 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002669/0.5241, allocations: 0.7956 MB / 0.8416 GB, free: 11.2 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006388/0.5305, allocations: 1.753 MB / 0.8433 GB, free: 9.438 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00782/0.5383, allocations: 4.001 MB / 0.8472 GB, free: 5.445 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01085/0.5492, allocations: 9.661 MB / 0.8567 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.5611, allocations: 9.106 MB / 0.8656 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3376/0.8988, allocations: 5.204 MB / 0.8707 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007357/0.9062, allocations: 5.778 MB / 0.8763 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.004979/0.9112, allocations: 1.766 MB / 0.878 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005905/0.9171, allocations: 2.255 MB / 0.8802 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004222/0.9214, allocations: 3.309 MB / 0.8835 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007376/0.9288, allocations: 6.082 MB / 0.8894 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01791/0.9467, allocations: 17.26 MB / 0.9062 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.9468, allocations: 0 / 0.9062 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9468, allocations: 0 / 0.9062 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0006169/0.9474, allocations: 1.781 kB / 0.9062 GB, free: 7.23 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.02681/0.9742, allocations: 10.78 MB / 0.9168 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.9743, allocations: 11.53 kB / 0.9168 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002531/0.9768, allocations: 1.473 MB / 0.9182 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05217/1.029, allocations: 7.281 MB / 0.9253 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/1.04, allocations: 4.997 MB / 0.9302 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005146/1.041, allocations: 0.8419 MB / 0.931 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003544/1.044, allocations: 1.096 MB / 0.9321 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04328/1.087, allocations: 14.55 MB / 0.9463 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002009/1.088, allocations: 7.469 kB / 0.9463 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001673/1.089, allocations: 474.8 kB / 0.9468 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/1.09, allocations: 277.2 kB / 0.947 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05181/1.141, allocations: 16.18 MB / 0.9628 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07518/1.217, allocations: 34.77 MB / 0.9968 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03247/1.249, allocations: 9.782 MB / 1.006 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01684/1.266, allocations: 5.189 MB / 1.011 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/1.267, allocations: 0.6786 MB / 1.012 GB, free: 9.918 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01909/1.286, allocations: 5.945 MB / 1.018 GB, free: 3.902 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=689): time 1.148e-05/1.286, allocations: 7.219 kB / 1.018 GB, free: 3.902 MB / 0.7637 GB Notification: Performance of matching and sorting (n=689): time 0.05423/1.341, allocations: 14.87 MB / 1.032 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/1.341, allocations: 364.1 kB / 1.033 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004895/1.346, allocations: 3.246 MB / 1.036 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001641/1.347, allocations: 141.1 kB / 1.036 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003214/1.351, allocations: 3.77 MB / 1.04 GB, free: 13.28 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003375/1.354, allocations: 2.353 MB / 1.042 GB, free: 10.96 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003066/1.357, allocations: 1.203 MB / 1.043 GB, free: 9.746 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.542e-05/1.357, allocations: 301.1 kB / 1.043 GB, free: 9.449 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0156/1.373, allocations: 4.337 MB / 1.048 GB, free: 5.105 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01663/1.389, allocations: 4.906 MB / 1.053 GB, free: 104 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03257/1.422, allocations: 9.127 MB / 1.061 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/1.422, allocations: 0 / 1.061 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.03748/1.46, allocations: 10.56 MB / 1.072 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/1.46, allocations: 8 kB / 1.072 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/1.46, allocations: 4 kB / 1.072 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/1.461, allocations: 189.8 kB / 1.072 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01377/1.475, allocations: 1.97 MB / 1.074 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004075/1.479, allocations: 3.27 MB / 1.077 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01146/1.49, allocations: 1.132 MB / 1.078 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/1.492, allocations: 311.6 kB / 1.078 GB, free: 5.195 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.005172/1.497, allocations: 1.555 MB / 1.08 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001865/1.499, allocations: 0.5279 MB / 1.08 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04301/1.542, allocations: 12.34 MB / 1.093 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.692e-05/1.542, allocations: 75.75 kB / 1.093 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/1.542, allocations: 4 kB / 1.093 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001136/1.542, allocations: 31.88 kB / 1.093 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0563/1.599, allocations: 21.87 MB / 1.114 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.927e-05/1.599, allocations: 4 kB / 1.114 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01335/1.612, allocations: 1.849 MB / 1.116 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009596/1.613, allocations: 161.6 kB / 1.116 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001458/1.615, allocations: 223.7 kB / 1.116 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003765/1.618, allocations: 3.31 MB / 1.119 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.618, allocations: 11.98 kB / 1.119 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04057/1.659, allocations: 10.53 MB / 1.13 GB, free: 416 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004904/1.664, allocations: 1.792 MB / 1.131 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001663/1.666, allocations: 163.6 kB / 1.132 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009909/1.675, allocations: 0.7593 MB / 1.132 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001154/1.677, allocations: 416.9 kB / 1.133 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008846/1.678, allocations: 275.7 kB / 1.133 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.004134/1.682, allocations: 2.425 MB / 1.135 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/1.682, allocations: 4 kB / 1.135 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.006322/1.688, allocations: 2.37 MB / 1.138 GB, free: 8.184 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.03649/1.725, allocations: 11.8 MB / 1.149 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0346/1.759, allocations: 10.54 MB / 1.16 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.759, allocations: 4 kB / 1.16 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.01846/1.778, allocations: 5.712 MB / 1.165 GB, free: 12.44 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006245/1.784, allocations: 0.9258 MB / 1.166 GB, free: 11.55 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4213/2.205, allocations: 57.74 MB / 1.222 GB, free: 429.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003678/2.209, allocations: 3.943 MB / 1.226 GB, free: 428.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.009284/2.218, allocations: 1.732 MB / 1.228 GB, free: 428.4 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006621/2.225, allocations: 4.264 MB / 1.232 GB, free: 425.1 MB / 0.9512 GB Notification: Performance of SimCode: time 1.793e-06/2.225, allocations: 0 / 1.232 GB, free: 425.1 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.165/2.39, allocations: 135.4 MB / 1.364 GB, free: 308.6 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.88/25.27, allocations: 11.75 kB / 1.364 GB, free: 308.6 MB / 0.9512 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100_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_WD100.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD100.pipe 2>&1)