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.006853/0.006853, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.0014/0.0014, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.319/1.319, 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.9207/0.9207, allocations: 135.1 MB / 425.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.91 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3244, allocations: 80.92 MB / 0.6642 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD400): time 0.01679/0.3413, allocations: 18.23 MB / 0.682 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1618/0.5031, allocations: 162.6 MB / 0.8408 GB, free: 12.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003561/0.5067, allocations: 87.62 kB / 0.8409 GB, free: 11.99 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.5086, allocations: 0.7995 MB / 0.8417 GB, free: 11.18 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004352/0.5129, allocations: 1.744 MB / 0.8434 GB, free: 9.426 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00651/0.5195, allocations: 4.002 MB / 0.8473 GB, free: 5.434 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0114/0.5309, allocations: 9.653 MB / 0.8567 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.5415, allocations: 9.118 MB / 0.8656 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3387/0.8802, allocations: 5.202 MB / 0.8707 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00637/0.8866, allocations: 5.777 MB / 0.8763 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003406/0.8901, allocations: 1.767 MB / 0.878 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003934/0.894, allocations: 2.254 MB / 0.8802 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001875/0.8959, allocations: 3.31 MB / 0.8835 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004719/0.9006, allocations: 6.083 MB / 0.8894 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01371/0.9143, allocations: 17.26 MB / 0.9063 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.9144, allocations: 1.938 kB / 0.9063 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9144, allocations: 0 / 0.9063 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004556/0.9148, allocations: 0.9062 kB / 0.9063 GB, free: 7.281 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.02226/0.9371, allocations: 10.78 MB / 0.9168 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.9372, allocations: 8.938 kB / 0.9168 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001585/0.9387, allocations: 1.472 MB / 0.9182 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05151/0.9903, allocations: 7.284 MB / 0.9254 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/1, allocations: 4.979 MB / 0.9302 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004367/1.001, allocations: 0.8444 MB / 0.931 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002225/1.003, allocations: 1.095 MB / 0.9321 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03431/1.037, allocations: 14.55 MB / 0.9463 GB, free: 9.168 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/1.038, allocations: 7.469 kB / 0.9463 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001225/1.039, allocations: 471.2 kB / 0.9468 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/1.039, allocations: 281.8 kB / 0.947 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04695/1.086, allocations: 16.17 MB / 0.9628 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06929/1.155, allocations: 34.76 MB / 0.9968 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03098/1.186, allocations: 9.788 MB / 1.006 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01556/1.202, allocations: 5.189 MB / 1.011 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/1.203, allocations: 0.6804 MB / 1.012 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01722/1.22, allocations: 5.944 MB / 1.018 GB, free: 4.004 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=689): time 1.192e-05/1.22, allocations: 0 / 1.018 GB, free: 4.004 MB / 0.7637 GB Notification: Performance of matching and sorting (n=689): time 0.04966/1.27, allocations: 14.88 MB / 1.032 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/1.27, allocations: 364.1 kB / 1.033 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004448/1.275, allocations: 3.246 MB / 1.036 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007019/1.275, allocations: 137.7 kB / 1.036 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002837/1.278, allocations: 3.77 MB / 1.04 GB, free: 13.38 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00209/1.28, allocations: 2.355 MB / 1.042 GB, free: 11.06 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002483/1.283, allocations: 1.203 MB / 1.043 GB, free: 9.848 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/1.283, allocations: 301.1 kB / 1.043 GB, free: 9.551 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0146/1.297, allocations: 4.34 MB / 1.048 GB, free: 5.207 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01526/1.313, allocations: 4.906 MB / 1.053 GB, free: 208 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02958/1.342, allocations: 9.125 MB / 1.061 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/1.342, allocations: 0 / 1.061 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.03503/1.377, allocations: 10.56 MB / 1.072 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/1.377, allocations: 8 kB / 1.072 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/1.377, allocations: 7.984 kB / 1.072 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/1.379, allocations: 181.8 kB / 1.072 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01293/1.392, allocations: 1.972 MB / 1.074 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/1.395, allocations: 3.27 MB / 1.077 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/1.406, allocations: 1.134 MB / 1.078 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009324/1.407, allocations: 315.6 kB / 1.078 GB, free: 5.293 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.004193/1.411, allocations: 1.554 MB / 1.08 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/1.413, allocations: 0.524 MB / 1.081 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03937/1.452, allocations: 12.33 MB / 1.093 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.151e-05/1.452, allocations: 72 kB / 1.093 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/1.452, allocations: 4 kB / 1.093 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.281e-05/1.452, allocations: 31.88 kB / 1.093 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04991/1.502, allocations: 21.88 MB / 1.114 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/1.502, allocations: 0 / 1.114 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01207/1.514, allocations: 1.852 MB / 1.116 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008832/1.515, allocations: 161.6 kB / 1.116 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006312/1.516, allocations: 219.7 kB / 1.116 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003552/1.519, allocations: 3.319 MB / 1.119 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.519, allocations: 6.125 kB / 1.119 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03295/1.552, allocations: 10.53 MB / 1.13 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003436/1.556, allocations: 1.796 MB / 1.131 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/1.557, allocations: 159.6 kB / 1.132 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009255/1.566, allocations: 0.7635 MB / 1.132 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007236/1.567, allocations: 417.5 kB / 1.133 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006693/1.568, allocations: 275.2 kB / 1.133 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003369/1.571, allocations: 2.426 MB / 1.135 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/1.571, allocations: 4 kB / 1.135 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005074/1.576, allocations: 2.374 MB / 1.138 GB, free: 8.281 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.03453/1.611, allocations: 11.8 MB / 1.149 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.03204/1.643, allocations: 10.53 MB / 1.16 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.643, allocations: 4 kB / 1.16 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.01649/1.659, allocations: 5.712 MB / 1.165 GB, free: 12.54 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/1.664, allocations: 0.9356 MB / 1.166 GB, free: 11.65 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4038/2.068, allocations: 57.73 MB / 1.222 GB, free: 429.6 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003431/2.071, allocations: 3.94 MB / 1.226 GB, free: 428.7 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.008731/2.08, allocations: 1.731 MB / 1.228 GB, free: 428.6 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006136/2.086, allocations: 4.26 MB / 1.232 GB, free: 425.2 MB / 0.9512 GB Notification: Performance of SimCode: time 7.61e-07/2.086, allocations: 3.812 kB / 1.232 GB, free: 425.2 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1568/2.243, allocations: 135.4 MB / 1.364 GB, free: 308.8 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.07/26.31, allocations: 19.73 kB / 1.364 GB, free: 308.8 MB / 0.9512 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)