Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.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.WD500,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Validation_BESTEST_WD500",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.002746/0.002746, 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.002858/0.002858, allocations: 194.3 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 2.432/2.432, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.723/1.723, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 61.2 kB / 0.5054 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2879, allocations: 80.93 MB / 0.5845 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Validation.BESTEST.WD500): time 0.04208/0.33, allocations: 18.22 MB / 0.6023 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7586/1.089, allocations: 162.6 MB / 0.7611 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008573/1.097, allocations: 78.06 kB / 0.7612 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007962/1.105, allocations: 0.7931 MB / 0.7619 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01395/1.119, allocations: 1.682 MB / 0.7636 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01859/1.138, allocations: 4.001 MB / 0.7675 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02372/1.162, allocations: 9.604 MB / 0.7769 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02297/1.185, allocations: 9.101 MB / 0.7857 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01263/1.198, allocations: 5.121 MB / 0.7907 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01288/1.21, allocations: 5.746 MB / 0.7964 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.006411/1.217, allocations: 1.762 MB / 0.7981 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/1.227, allocations: 2.23 MB / 0.8003 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.007625/1.235, allocations: 3.315 MB / 0.8035 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01959/1.255, allocations: 6.082 MB / 0.8094 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.03118/1.286, allocations: 16.89 MB / 0.8259 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/1.286, allocations: 0 / 0.8259 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of FrontEnd: time 6.502e-06/1.286, allocations: 4 kB / 0.8259 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000553/1.286, allocations: 0 / 0.8259 GB, free: 5.051 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.08657/1.373, allocations: 10.5 MB / 0.8362 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/1.373, allocations: 8.031 kB / 0.8362 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00543/1.379, allocations: 1.479 MB / 0.8376 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1028/1.481, allocations: 7.223 MB / 0.8447 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/1.499, allocations: 4.79 MB / 0.8494 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00119/1.5, allocations: 0.8469 MB / 0.8502 GB, free: 11.99 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005656/1.506, allocations: 1.094 MB / 0.8513 GB, free: 10.9 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8208/2.326, allocations: 14.54 MB / 0.8655 GB, free: 195.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000311/2.327, allocations: 8.438 kB / 0.8655 GB, free: 195.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003092/2.33, allocations: 471 kB / 0.8659 GB, free: 195.4 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002716/2.33, allocations: 282 kB / 0.8662 GB, free: 195.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09248/2.423, allocations: 16.17 MB / 0.882 GB, free: 190.7 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.128/2.551, allocations: 35.19 MB / 0.9163 GB, free: 174.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06252/2.613, allocations: 9.794 MB / 0.9259 GB, free: 169.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04108/2.654, allocations: 5.193 MB / 0.931 GB, free: 167.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002291/2.657, allocations: 0.6809 MB / 0.9316 GB, free: 166.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03894/2.696, allocations: 5.932 MB / 0.9374 GB, free: 163 MB / 0.67 GB Notification: Performance of pre-optimization done (n=689): time 2.173e-05/2.696, allocations: 0 / 0.9374 GB, free: 163 MB / 0.67 GB Notification: Performance of matching and sorting (n=689): time 0.09926/2.795, allocations: 14.86 MB / 0.9519 GB, free: 155.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/2.795, allocations: 353.1 kB / 0.9523 GB, free: 155 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008099/2.803, allocations: 3.242 MB / 0.9554 GB, free: 153.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002537/2.806, allocations: 138.8 kB / 0.9556 GB, free: 153.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003445/2.809, allocations: 3.673 MB / 0.9592 GB, free: 150 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.004358/2.814, allocations: 2.23 MB / 0.9613 GB, free: 148 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007379/2.821, allocations: 1.204 MB / 0.9625 GB, free: 147.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.946e-05/2.821, allocations: 305.1 kB / 0.9628 GB, free: 147 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02889/2.85, allocations: 4.333 MB / 0.967 GB, free: 143.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02907/2.879, allocations: 4.902 MB / 0.9718 GB, free: 138.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05929/2.939, allocations: 9.123 MB / 0.9807 GB, free: 129.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-05/2.939, allocations: 4 kB / 0.9807 GB, free: 129.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.0678/3.007, allocations: 10.53 MB / 0.991 GB, free: 118.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/3.007, allocations: 4 kB / 0.991 GB, free: 118.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/3.007, allocations: 8.25 kB / 0.991 GB, free: 118.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/3.009, allocations: 193.4 kB / 0.9912 GB, free: 118.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02638/3.035, allocations: 1.966 MB / 0.9931 GB, free: 116.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005729/3.041, allocations: 3.278 MB / 0.9963 GB, free: 113 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01973/3.061, allocations: 1.12 MB / 0.9974 GB, free: 111.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002862/3.064, allocations: 309 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.009014/3.073, allocations: 1.549 MB / 0.9992 GB, free: 110 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004169/3.077, allocations: 0.4977 MB / 0.9997 GB, free: 109.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07898/3.156, allocations: 12.35 MB / 1.012 GB, free: 97.02 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.447e-05/3.156, allocations: 68 kB / 1.012 GB, free: 96.96 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.468e-05/3.156, allocations: 7.938 kB / 1.012 GB, free: 96.95 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001837/3.156, allocations: 35.86 kB / 1.012 GB, free: 96.91 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09668/3.253, allocations: 21.95 MB / 1.033 GB, free: 74.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.301e-05/3.253, allocations: 0 / 1.033 GB, free: 74.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02522/3.278, allocations: 1.845 MB / 1.035 GB, free: 73.06 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001619/3.28, allocations: 157.5 kB / 1.035 GB, free: 72.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002597/3.282, allocations: 227.7 kB / 1.036 GB, free: 72.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005417/3.288, allocations: 3.314 MB / 1.039 GB, free: 69.07 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/3.288, allocations: 4.031 kB / 1.039 GB, free: 69.07 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06764/3.356, allocations: 10.5 MB / 1.049 GB, free: 58.47 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006439/3.362, allocations: 1.769 MB / 1.051 GB, free: 56.68 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002733/3.365, allocations: 159.4 kB / 1.051 GB, free: 56.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01788/3.383, allocations: 0.7582 MB / 1.052 GB, free: 55.77 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001949/3.385, allocations: 417.5 kB / 1.052 GB, free: 55.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001669/3.386, allocations: 271.7 kB / 1.052 GB, free: 55.09 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005806/3.392, allocations: 2.43 MB / 1.055 GB, free: 52.66 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.01e-07/3.392, allocations: 4 kB / 1.055 GB, free: 52.65 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009895/3.402, allocations: 2.331 MB / 1.057 GB, free: 50.33 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.06869/3.471, allocations: 11.77 MB / 1.068 GB, free: 38.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.1415/3.613, allocations: 12.19 MB / 1.08 GB, free: 26.53 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/3.613, allocations: 0 / 1.08 GB, free: 26.53 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.03989/3.653, allocations: 5.712 MB / 1.086 GB, free: 20.79 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.015/3.668, allocations: 0.9275 MB / 1.087 GB, free: 19.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6935/4.361, allocations: 71.85 MB / 1.157 GB, free: 189.5 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008673/4.37, allocations: 3.944 MB / 1.161 GB, free: 188.6 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.02592/4.396, allocations: 1.726 MB / 1.163 GB, free: 188.1 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01397/4.41, allocations: 4.269 MB / 1.167 GB, free: 184.7 MB / 0.6857 GB Notification: Performance of SimCode: time 1.733e-06/4.41, allocations: 0 / 1.167 GB, free: 184.7 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5756/4.985, allocations: 138 MB / 1.301 GB, free: 74.8 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.15/38.14, allocations: 0 / 1.301 GB, free: 74.8 MB / 0.6857 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500_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_WD500.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1)