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.001106/0.001106, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009025/0.0009025, allocations: 198.1 kB / 16.14 MB, free: 6.66 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.202/1.202, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8228/0.8228, allocations: 135.1 MB / 425.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 63.67 kB / 0.5048 GB, free: 5.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1198, allocations: 80.93 MB / 0.5838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD300): time 0.01622/0.1361, allocations: 17.92 MB / 0.6013 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3348/0.4709, allocations: 160.1 MB / 0.7576 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002937/0.4738, allocations: 74.38 kB / 0.7577 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.476, allocations: 0.5556 MB / 0.7582 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004426/0.4804, allocations: 1.404 MB / 0.7596 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005736/0.4862, allocations: 3.66 MB / 0.7632 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007098/0.4933, allocations: 8.748 MB / 0.7717 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007969/0.5012, allocations: 8.776 MB / 0.7803 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004615/0.5059, allocations: 4.19 MB / 0.7844 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00404/0.5099, allocations: 5.129 MB / 0.7894 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.511, allocations: 0.8398 MB / 0.7902 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.5129, allocations: 1.316 MB / 0.7915 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001478/0.5144, allocations: 2.389 MB / 0.7938 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003554/0.5179, allocations: 5.164 MB / 0.7989 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.5291, allocations: 16.2 MB / 0.8147 GB, free: 324 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.5291, allocations: 4 kB / 0.8147 GB, free: 320 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5291, allocations: 3.938 kB / 0.8147 GB, free: 316 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002678/0.5294, allocations: 0 / 0.8147 GB, free: 316 kB / 0.6231 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.01934/0.5487, allocations: 10.5 MB / 0.825 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5488, allocations: 12.02 kB / 0.825 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001798/0.5506, allocations: 1.475 MB / 0.8264 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04792/0.5985, allocations: 7.227 MB / 0.8335 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006968/0.6055, allocations: 4.794 MB / 0.8381 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005142/0.606, allocations: 0.8391 MB / 0.839 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00191/0.608, allocations: 1.09 MB / 0.84 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03402/0.642, allocations: 14.55 MB / 0.8542 GB, free: 7.512 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002031/0.6422, allocations: 7.875 kB / 0.8542 GB, free: 7.504 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001528/0.6438, allocations: 472 kB / 0.8547 GB, free: 7.043 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001735/0.6439, allocations: 280 kB / 0.855 GB, free: 6.77 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4244/1.068, allocations: 16.16 MB / 0.8707 GB, free: 197.2 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06107/1.129, allocations: 35.18 MB / 0.9051 GB, free: 180.8 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0277/1.157, allocations: 9.799 MB / 0.9147 GB, free: 177.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01361/1.171, allocations: 5.189 MB / 0.9197 GB, free: 175.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/1.172, allocations: 0.6796 MB / 0.9204 GB, free: 174.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01506/1.187, allocations: 5.938 MB / 0.9262 GB, free: 172 MB / 0.67 GB Notification: Performance of pre-optimization done (n=689): time 1.46e-05/1.187, allocations: 7.922 kB / 0.9262 GB, free: 172 MB / 0.67 GB Notification: Performance of matching and sorting (n=689): time 0.04376/1.231, allocations: 14.85 MB / 0.9407 GB, free: 164.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.231, allocations: 358.8 kB / 0.9411 GB, free: 164 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00466/1.236, allocations: 3.236 MB / 0.9442 GB, free: 162.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001127/1.237, allocations: 141.8 kB / 0.9443 GB, free: 162.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001984/1.239, allocations: 3.666 MB / 0.9479 GB, free: 159 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002014/1.241, allocations: 2.236 MB / 0.9501 GB, free: 157.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00325/1.244, allocations: 1.205 MB / 0.9513 GB, free: 156.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.082e-05/1.244, allocations: 308.7 kB / 0.9516 GB, free: 156 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01215/1.256, allocations: 4.329 MB / 0.9558 GB, free: 153.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01216/1.268, allocations: 4.904 MB / 0.9606 GB, free: 150.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02359/1.292, allocations: 9.123 MB / 0.9695 GB, free: 141.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/1.292, allocations: 0 / 0.9695 GB, free: 141.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02728/1.319, allocations: 10.54 MB / 0.9798 GB, free: 130.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.319, allocations: 11.19 kB / 0.9798 GB, free: 130.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.319, allocations: 4.25 kB / 0.9798 GB, free: 130.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/1.32, allocations: 181.5 kB / 0.98 GB, free: 130.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01061/1.331, allocations: 1.97 MB / 0.9819 GB, free: 128.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/1.334, allocations: 3.048 MB / 0.9849 GB, free: 125.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00846/1.342, allocations: 1.118 MB / 0.986 GB, free: 124.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006814/1.343, allocations: 313 kB / 0.9863 GB, free: 124 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.003339/1.346, allocations: 1.551 MB / 0.9878 GB, free: 122.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/1.348, allocations: 0.5015 MB / 0.9883 GB, free: 121.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03218/1.38, allocations: 12.34 MB / 1 GB, free: 109.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/1.38, allocations: 75.94 kB / 1 GB, free: 109.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/1.38, allocations: 3.984 kB / 1 GB, free: 109.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.235e-05/1.38, allocations: 35.86 kB / 1 GB, free: 109.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0381/1.418, allocations: 21.95 MB / 1.022 GB, free: 87.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/1.418, allocations: 0 / 1.022 GB, free: 87.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009958/1.428, allocations: 1.845 MB / 1.024 GB, free: 85.47 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008907/1.429, allocations: 185.5 kB / 1.024 GB, free: 85.29 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006289/1.43, allocations: 223.7 kB / 1.024 GB, free: 85.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/1.432, allocations: 3.087 MB / 1.027 GB, free: 81.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.432, allocations: 128 / 1.027 GB, free: 81.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0264/1.459, allocations: 10.5 MB / 1.037 GB, free: 71.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/1.461, allocations: 1.761 MB / 1.039 GB, free: 69.31 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.462, allocations: 167.4 kB / 1.039 GB, free: 69.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007946/1.47, allocations: 0.7478 MB / 1.04 GB, free: 68.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006655/1.471, allocations: 425.4 kB / 1.04 GB, free: 67.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006016/1.471, allocations: 275.7 kB / 1.041 GB, free: 67.71 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002769/1.474, allocations: 2.426 MB / 1.043 GB, free: 65.29 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.81e-07/1.474, allocations: 0 / 1.043 GB, free: 65.29 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004286/1.478, allocations: 2.333 MB / 1.045 GB, free: 62.96 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.02834/1.507, allocations: 11.77 MB / 1.057 GB, free: 51.32 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02711/1.534, allocations: 10.53 MB / 1.067 GB, free: 40.73 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.534, allocations: 0 / 1.067 GB, free: 40.73 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01555/1.549, allocations: 5.708 MB / 1.073 GB, free: 34.99 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006347/1.556, allocations: 0.8793 MB / 1.073 GB, free: 34.12 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3593/1.915, allocations: 76.4 MB / 1.148 GB, free: 191.9 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004293/1.92, allocations: 3.937 MB / 1.152 GB, free: 191 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.012/1.932, allocations: 1.729 MB / 1.154 GB, free: 190.6 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006998/1.939, allocations: 4.26 MB / 1.158 GB, free: 187.2 MB / 0.6857 GB Notification: Performance of SimCode: time 7.01e-07/1.939, allocations: 1.031 kB / 1.158 GB, free: 187.2 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.434/6.372, allocations: 134.2 MB / 1.289 GB, free: 88.46 MB / 0.6857 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/6.373, allocations: 274.2 kB / 1.289 GB, free: 88.1 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.811/11.18, allocations: 1 kB / 1.289 GB, free: 88.1 MB / 0.6857 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)