Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.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.WD300,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD300",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Validation.BESTEST.WD300,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD300",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.008024/0.008024, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001371/0.001371, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8911/0.8911, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.91 kB / 0.5851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.398, allocations: 80.91 MB / 0.6642 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD300): time 0.01735/0.4154, allocations: 18.23 MB / 0.682 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1845/0.6, allocations: 162.6 MB / 0.8408 GB, free: 12.08 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005432/0.6054, allocations: 79.69 kB / 0.8409 GB, free: 12 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003344/0.6088, allocations: 0.7956 MB / 0.8416 GB, free: 11.2 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008397/0.6172, allocations: 1.693 MB / 0.8433 GB, free: 9.496 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01025/0.6275, allocations: 4.003 MB / 0.8472 GB, free: 5.504 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01655/0.6441, allocations: 9.653 MB / 0.8566 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01367/0.6578, allocations: 9.094 MB / 0.8655 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4028/1.061, allocations: 5.209 MB / 0.8706 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009189/1.07, allocations: 5.777 MB / 0.8762 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.006573/1.076, allocations: 1.765 MB / 0.878 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008486/1.085, allocations: 2.256 MB / 0.8802 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00569/1.091, allocations: 3.309 MB / 0.8834 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.009233/1.1, allocations: 6.08 MB / 0.8893 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01854/1.118, allocations: 17.21 MB / 0.9061 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.119, allocations: 4.312 kB / 0.9061 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.753e-06/1.119, allocations: 0.875 kB / 0.9061 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0006664/1.119, allocations: 0 / 0.9061 GB, free: 7.363 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.02894/1.148, allocations: 10.51 MB / 0.9164 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.148, allocations: 7.125 kB / 0.9164 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003569/1.152, allocations: 1.476 MB / 0.9179 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0494/1.201, allocations: 7.226 MB / 0.9249 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/1.213, allocations: 4.826 MB / 0.9296 GB, free: 44 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005779/1.214, allocations: 0.844 MB / 0.9304 GB, free: 20 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003945/1.217, allocations: 1.092 MB / 0.9315 GB, free: 20 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05154/1.269, allocations: 14.67 MB / 0.9458 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003659/1.269, allocations: 3.375 kB / 0.9458 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004911/1.274, allocations: 470.5 kB / 0.9463 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002056/1.275, allocations: 282.5 kB / 0.9466 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05686/1.331, allocations: 16.18 MB / 0.9624 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08809/1.42, allocations: 34.62 MB / 0.9962 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0352/1.455, allocations: 9.79 MB / 1.006 GB, free: 424 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01691/1.472, allocations: 5.185 MB / 1.011 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/1.473, allocations: 0.6918 MB / 1.011 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02005/1.494, allocations: 5.948 MB / 1.017 GB, free: 4.477 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=689): time 1.381e-05/1.494, allocations: 0 / 1.017 GB, free: 4.477 MB / 0.7637 GB Notification: Performance of matching and sorting (n=689): time 0.05855/1.552, allocations: 14.85 MB / 1.032 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002016/1.552, allocations: 367.7 kB / 1.032 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006025/1.558, allocations: 3.238 MB / 1.035 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001795/1.56, allocations: 137.7 kB / 1.035 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003093/1.563, allocations: 3.677 MB / 1.039 GB, free: 13.98 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003266/1.567, allocations: 2.231 MB / 1.041 GB, free: 11.77 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005338/1.572, allocations: 1.206 MB / 1.042 GB, free: 10.55 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/1.572, allocations: 301.1 kB / 1.043 GB, free: 10.25 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0153/1.587, allocations: 4.333 MB / 1.047 GB, free: 5.914 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01705/1.604, allocations: 4.906 MB / 1.052 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03208/1.637, allocations: 9.123 MB / 1.061 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.516e-05/1.637, allocations: 0 / 1.061 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.04292/1.68, allocations: 10.54 MB / 1.071 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/1.68, allocations: 8.25 kB / 1.071 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/1.68, allocations: 8 kB / 1.071 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/1.681, allocations: 185.5 kB / 1.071 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01383/1.695, allocations: 1.977 MB / 1.073 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003936/1.699, allocations: 3.259 MB / 1.076 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/1.71, allocations: 1.13 MB / 1.077 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002204/1.712, allocations: 307.6 kB / 1.078 GB, free: 6.035 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.008772/1.721, allocations: 1.557 MB / 1.079 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003141/1.724, allocations: 0.4977 MB / 1.08 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04681/1.771, allocations: 12.33 MB / 1.092 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.435e-05/1.771, allocations: 68 kB / 1.092 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.097e-05/1.771, allocations: 3.984 kB / 1.092 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001848/1.771, allocations: 39.62 kB / 1.092 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06242/1.834, allocations: 21.86 MB / 1.113 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.785e-05/1.834, allocations: 0 / 1.113 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01313/1.847, allocations: 1.846 MB / 1.115 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009649/1.848, allocations: 160.9 kB / 1.115 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00208/1.85, allocations: 223.8 kB / 1.115 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/1.854, allocations: 3.315 MB / 1.118 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.854, allocations: 7.969 kB / 1.118 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04396/1.898, allocations: 10.51 MB / 1.129 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005739/1.904, allocations: 1.765 MB / 1.13 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003213/1.907, allocations: 159.4 kB / 1.131 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01144/1.918, allocations: 0.7531 MB / 1.131 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002497/1.921, allocations: 420.9 kB / 1.132 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002708/1.924, allocations: 275.7 kB / 1.132 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.006625/1.93, allocations: 2.43 MB / 1.134 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.31e-07/1.93, allocations: 0 / 1.134 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.009736/1.94, allocations: 2.336 MB / 1.137 GB, free: 9.148 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.04643/1.987, allocations: 11.78 MB / 1.148 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.03737/2.024, allocations: 10.53 MB / 1.158 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/2.024, allocations: 4 kB / 1.158 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.02003/2.044, allocations: 5.705 MB / 1.164 GB, free: 13.44 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009661/2.054, allocations: 0.9393 MB / 1.165 GB, free: 12.54 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5071/2.561, allocations: 57.42 MB / 1.221 GB, free: 429.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005203/2.566, allocations: 3.941 MB / 1.225 GB, free: 428.8 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.01173/2.578, allocations: 1.73 MB / 1.227 GB, free: 428.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009577/2.587, allocations: 4.261 MB / 1.231 GB, free: 425.3 MB / 0.9512 GB Notification: Performance of SimCode: time 7.62e-07/2.587, allocations: 0.6562 kB / 1.231 GB, free: 425.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1958/2.783, allocations: 137.8 MB / 1.365 GB, free: 307.6 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.55/28.34, allocations: 11.75 kB / 1.365 GB, free: 307.6 MB / 0.9512 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD300_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD300.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD300.pipe 2>&1)