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.001307/0.001307, 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.0015/0.0015, allocations: 194.6 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8779/0.8779, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.12 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1226, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD400): time 0.01719/0.1398, allocations: 18.21 MB / 0.6023 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3832/0.5231, allocations: 162.6 MB / 0.7611 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004082/0.5272, allocations: 82.34 kB / 0.7612 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.5294, allocations: 0.7885 MB / 0.7619 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005615/0.5351, allocations: 1.691 MB / 0.7636 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007128/0.5422, allocations: 3.99 MB / 0.7675 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009757/0.552, allocations: 9.603 MB / 0.7768 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009544/0.5615, allocations: 9.106 MB / 0.7857 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006771/0.5683, allocations: 5.113 MB / 0.7907 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006935/0.5753, allocations: 5.742 MB / 0.7963 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00334/0.5786, allocations: 1.766 MB / 0.7981 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003902/0.5826, allocations: 2.226 MB / 0.8002 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002675/0.5852, allocations: 3.315 MB / 0.8035 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007368/0.5926, allocations: 6.085 MB / 0.8094 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01525/0.6079, allocations: 16.9 MB / 0.8259 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6079, allocations: 0 / 0.8259 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.453e-06/0.608, allocations: 0 / 0.8259 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003702/0.6083, allocations: 4 kB / 0.8259 GB, free: 5.012 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.02356/0.6319, allocations: 10.5 MB / 0.8362 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.6319, allocations: 8.031 kB / 0.8362 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001741/0.6337, allocations: 1.475 MB / 0.8376 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05065/0.6843, allocations: 7.231 MB / 0.8447 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009549/0.6939, allocations: 4.786 MB / 0.8494 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006514/0.6946, allocations: 0.8469 MB / 0.8502 GB, free: 11.95 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003281/0.6979, allocations: 1.09 MB / 0.8513 GB, free: 10.86 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4733/1.171, allocations: 14.54 MB / 0.8655 GB, free: 195.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001523/1.171, allocations: 4.688 kB / 0.8655 GB, free: 195.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00104/1.172, allocations: 472.2 kB / 0.8659 GB, free: 195.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/1.173, allocations: 280.5 kB / 0.8662 GB, free: 195.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04281/1.215, allocations: 16.18 MB / 0.882 GB, free: 190.8 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06484/1.28, allocations: 35.18 MB / 0.9163 GB, free: 174.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02886/1.309, allocations: 9.803 MB / 0.9259 GB, free: 169.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01525/1.324, allocations: 5.186 MB / 0.931 GB, free: 167.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/1.326, allocations: 0.6799 MB / 0.9316 GB, free: 166.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01554/1.341, allocations: 5.935 MB / 0.9374 GB, free: 163 MB / 0.67 GB Notification: Performance of pre-optimization done (n=689): time 9.428e-06/1.341, allocations: 4 kB / 0.9374 GB, free: 163 MB / 0.67 GB Notification: Performance of matching and sorting (n=689): time 0.04258/1.384, allocations: 14.85 MB / 0.9519 GB, free: 155.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.964e-05/1.384, allocations: 355.6 kB / 0.9523 GB, free: 155 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003406/1.387, allocations: 3.238 MB / 0.9554 GB, free: 153.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008966/1.388, allocations: 138.8 kB / 0.9556 GB, free: 153.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00175/1.39, allocations: 3.673 MB / 0.9592 GB, free: 150 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001582/1.392, allocations: 2.234 MB / 0.9613 GB, free: 148 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002011/1.394, allocations: 1.206 MB / 0.9625 GB, free: 147.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.141e-05/1.394, allocations: 301.1 kB / 0.9628 GB, free: 147 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01246/1.406, allocations: 4.33 MB / 0.967 GB, free: 143.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01356/1.42, allocations: 4.902 MB / 0.9718 GB, free: 138.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02739/1.447, allocations: 9.128 MB / 0.9807 GB, free: 129.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/1.447, allocations: 0 / 0.9807 GB, free: 129.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.03191/1.479, allocations: 10.53 MB / 0.991 GB, free: 118.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.479, allocations: 8 kB / 0.991 GB, free: 118.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/1.479, allocations: 8.188 kB / 0.991 GB, free: 118.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/1.48, allocations: 189.5 kB / 0.9912 GB, free: 118.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01243/1.493, allocations: 1.97 MB / 0.9931 GB, free: 116.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003176/1.496, allocations: 3.281 MB / 0.9963 GB, free: 112.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01031/1.506, allocations: 1.12 MB / 0.9974 GB, free: 111.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/1.507, allocations: 307.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.003694/1.511, allocations: 1.547 MB / 0.9992 GB, free: 109.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/1.512, allocations: 0.4977 MB / 0.9997 GB, free: 109.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03433/1.547, allocations: 12.36 MB / 1.012 GB, free: 96.96 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.273e-05/1.547, allocations: 68 kB / 1.012 GB, free: 96.89 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/1.547, allocations: 3.938 kB / 1.012 GB, free: 96.89 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.669e-05/1.547, allocations: 39.7 kB / 1.012 GB, free: 96.85 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03995/1.587, allocations: 21.94 MB / 1.033 GB, free: 74.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/1.587, allocations: 0 / 1.033 GB, free: 74.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01147/1.598, allocations: 1.853 MB / 1.035 GB, free: 73.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008816/1.599, allocations: 153.6 kB / 1.035 GB, free: 72.88 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001645/1.601, allocations: 223.7 kB / 1.036 GB, free: 72.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/1.604, allocations: 3.322 MB / 1.039 GB, free: 69.05 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.604, allocations: 4 kB / 1.039 GB, free: 69.05 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03265/1.636, allocations: 10.5 MB / 1.049 GB, free: 58.45 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003858/1.64, allocations: 1.765 MB / 1.051 GB, free: 56.66 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001677/1.642, allocations: 159.4 kB / 1.051 GB, free: 56.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009431/1.651, allocations: 0.7611 MB / 1.052 GB, free: 55.74 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001426/1.653, allocations: 417.5 kB / 1.052 GB, free: 55.33 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001418/1.654, allocations: 271.7 kB / 1.052 GB, free: 55.06 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003388/1.658, allocations: 2.426 MB / 1.055 GB, free: 52.63 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.41e-07/1.658, allocations: 4 kB / 1.055 GB, free: 52.63 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007192/1.665, 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.03471/1.7, allocations: 11.76 MB / 1.068 GB, free: 38.68 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.06691/1.767, allocations: 12.19 MB / 1.08 GB, free: 26.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.767, allocations: 0 / 1.08 GB, free: 26.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01516/1.782, allocations: 5.709 MB / 1.086 GB, free: 20.77 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004322/1.786, allocations: 0.9256 MB / 1.087 GB, free: 19.88 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3677/2.154, allocations: 71.85 MB / 1.157 GB, free: 189.6 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003325/2.157, allocations: 3.937 MB / 1.161 GB, free: 188.7 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.01082/2.168, allocations: 1.731 MB / 1.163 GB, free: 188.2 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005954/2.174, allocations: 4.264 MB / 1.167 GB, free: 184.8 MB / 0.6857 GB Notification: Performance of SimCode: time 5.31e-07/2.174, allocations: 0 / 1.167 GB, free: 184.8 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4897/2.664, allocations: 138 MB / 1.301 GB, free: 74.73 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.87/20.53, allocations: 0 / 1.301 GB, free: 74.73 MB / 0.6857 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD400_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD400.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1)