Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.001937/0.001937, 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.002192/0.002192, allocations: 196.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 2.559/2.559, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.622/1.622, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002335, allocations: 69.17 kB / 0.5054 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2295, allocations: 80.93 MB / 0.5845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01481/0.2444, allocations: 6.05 MB / 0.5904 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5138/0.7582, allocations: 151.4 MB / 0.7383 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007163/0.759, allocations: 24.47 kB / 0.7383 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.7596, allocations: 248.4 kB / 0.7385 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.7612, allocations: 0.6148 MB / 0.7391 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.7635, allocations: 1.279 MB / 0.7404 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001856/0.7653, allocations: 2.404 MB / 0.7427 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.7671, allocations: 1.575 MB / 0.7443 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.7681, allocations: 1.044 MB / 0.7453 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.7693, allocations: 1.182 MB / 0.7464 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003071/0.7696, allocations: 297.3 kB / 0.7467 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009246/0.7705, allocations: 0.6489 MB / 0.7474 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005122/0.7711, allocations: 0.6481 MB / 0.748 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000892/0.772, allocations: 1.166 MB / 0.7491 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.7746, allocations: 3.222 MB / 0.7523 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7746, allocations: 4 kB / 0.7523 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7746, allocations: 4 kB / 0.7523 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.418e-05/0.7747, allocations: 0 / 0.7523 GB, free: 0.7695 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004883/0.7796, allocations: 2.585 MB / 0.7548 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.7796, allocations: 12.03 kB / 0.7548 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003495/0.78, allocations: 308.3 kB / 0.7551 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/0.7963, allocations: 2.093 MB / 0.7572 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.798, allocations: 1.193 MB / 0.7583 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.7981, allocations: 164.4 kB / 0.7585 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.7984, allocations: 211.9 kB / 0.7587 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007945/0.8064, allocations: 3.162 MB / 0.7618 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.8064, allocations: 0 / 0.7618 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/0.8067, allocations: 88 kB / 0.7619 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.501e-05/0.8067, allocations: 52 kB / 0.7619 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.8194, allocations: 4.103 MB / 0.7659 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01432/0.8337, allocations: 7.007 MB / 0.7728 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008885/0.8426, allocations: 2.688 MB / 0.7754 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004287/0.8469, allocations: 1.431 MB / 0.7768 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007181/0.8477, allocations: 0.5074 MB / 0.7773 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004702/0.8524, allocations: 1.695 MB / 0.7789 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.637e-06/0.8524, allocations: 0 / 0.7789 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01427/0.8667, allocations: 4.197 MB / 0.783 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.8668, allocations: 201.9 kB / 0.7832 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.8678, allocations: 0.8582 MB / 0.7841 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.868, allocations: 57.7 kB / 0.7841 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004938/0.8685, allocations: 0.7114 MB / 0.7848 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005362/0.8691, allocations: 0.6312 MB / 0.7854 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000662/0.8697, allocations: 347.3 kB / 0.7858 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.8698, allocations: 305.1 kB / 0.786 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004063/0.8739, allocations: 1.167 MB / 0.7872 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004197/0.8781, allocations: 1.356 MB / 0.7885 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008052/0.8862, allocations: 2.469 MB / 0.7909 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.8862, allocations: 3.938 kB / 0.7909 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009476/0.8957, allocations: 2.905 MB / 0.7938 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.8957, allocations: 8 kB / 0.7938 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.8957, allocations: 0 / 0.7938 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005897/0.8963, allocations: 84.84 kB / 0.7938 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003532/0.8999, allocations: 0.5578 MB / 0.7944 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.9019, allocations: 1.645 MB / 0.796 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/0.9047, allocations: 334.2 kB / 0.7963 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.9049, allocations: 91.64 kB / 0.7964 GB, free: 2.832 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007361/0.9056, allocations: 397.5 kB / 0.7968 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/0.906, allocations: 150.1 kB / 0.7969 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/0.9171, allocations: 3.484 MB / 0.8003 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.9171, allocations: 20 kB / 0.8003 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9172, allocations: 0 / 0.8003 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.9172, allocations: 11.95 kB / 0.8004 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/0.9304, allocations: 5.765 MB / 0.806 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.9304, allocations: 4 kB / 0.806 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003524/0.934, allocations: 0.5422 MB / 0.8065 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.9344, allocations: 76.8 kB / 0.8066 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/0.9346, allocations: 63.92 kB / 0.8067 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.9365, allocations: 1.658 MB / 0.8083 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9365, allocations: 3.938 kB / 0.8083 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009746/0.9463, allocations: 3.047 MB / 0.8113 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007659/0.947, allocations: 0.5102 MB / 0.8118 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003081/0.9474, allocations: 47.84 kB / 0.8118 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002736/0.9501, allocations: 247.9 kB / 0.812 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/0.9504, allocations: 133.8 kB / 0.8122 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/0.9506, allocations: 79.92 kB / 0.8122 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008153/0.9514, allocations: 0.6427 MB / 0.8129 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9514, allocations: 3.938 kB / 0.8129 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001409/0.9528, allocations: 0.5919 MB / 0.8135 GB, free: 1.094 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01143/0.9642, allocations: 4.141 MB / 0.8175 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01234/0.9766, allocations: 3.412 MB / 0.8208 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9766, allocations: 4 kB / 0.8208 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004701/0.9813, allocations: 1.661 MB / 0.8225 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.9829, allocations: 361.6 kB / 0.8228 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03729/1.02, allocations: 15.82 MB / 0.8382 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008829/1.021, allocations: 1.373 MB / 0.8396 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002974/1.024, allocations: 0.5585 MB / 0.8401 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/1.026, allocations: 0.8193 MB / 0.8409 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/1.026, allocations: 0 / 0.8409 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2665/1.292, allocations: 38.56 MB / 0.8786 GB, free: 216.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.58/20.87, allocations: 9.922 kB / 0.8786 GB, free: 216.3 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)