Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.005616/0.005616, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001539/0.001539, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.766/0.766, allocations: 135.6 MB / 426.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 67.11 kB / 0.5857 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1223, allocations: 81.01 MB / 0.6649 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005456/0.1278, allocations: 4.11 MB / 0.6689 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4027/0.5305, allocations: 150.5 MB / 0.8158 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000541/0.5311, allocations: 18.94 kB / 0.8158 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004341/0.5315, allocations: 163.8 kB / 0.816 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.5328, allocations: 467.1 kB / 0.8164 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.5342, allocations: 0.7957 MB / 0.8172 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009015/0.5351, allocations: 1.167 MB / 0.8183 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000649/0.5358, allocations: 0.6068 MB / 0.8189 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004003/0.5362, allocations: 424.6 kB / 0.8193 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.5366, allocations: 432.1 kB / 0.8197 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.5367, allocations: 102.8 kB / 0.8198 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006839/0.5374, allocations: 469.7 kB / 0.8203 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.5376, allocations: 269.4 kB / 0.8205 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.5379, allocations: 497.7 kB / 0.821 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.5394, allocations: 1.471 MB / 0.8225 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5394, allocations: 8 kB / 0.8225 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5394, allocations: 0 / 0.8225 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.5394, allocations: 2.281 kB / 0.8225 GB, free: 5.004 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001853/0.5413, allocations: 1.356 MB / 0.8238 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.5413, allocations: 10.55 kB / 0.8238 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.5415, allocations: 124.7 kB / 0.8239 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007857/0.5422, allocations: 182.7 kB / 0.8241 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009477/0.5432, allocations: 0.7326 MB / 0.8248 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.533e-05/0.5433, allocations: 59.94 kB / 0.8249 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-05/0.5433, allocations: 74.22 kB / 0.8249 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.5446, allocations: 0.8442 MB / 0.8258 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.5446, allocations: 3.984 kB / 0.8258 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/0.5447, allocations: 38 kB / 0.8258 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.5447, allocations: 20.62 kB / 0.8258 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.5461, allocations: 1.053 MB / 0.8268 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/0.5493, allocations: 2.337 MB / 0.8291 GB, free: 172 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.5504, allocations: 0.6992 MB / 0.8298 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004136/0.5508, allocations: 272.2 kB / 0.8301 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.5509, allocations: 32.81 kB / 0.8301 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006492/0.5515, allocations: 420.8 kB / 0.8305 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=71): time 2.284e-06/0.5515, allocations: 0 / 0.8305 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71): time 0.002565/0.5541, allocations: 1.069 MB / 0.8315 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.5542, allocations: 190.7 kB / 0.8317 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006105/0.5548, allocations: 0.5875 MB / 0.8323 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.5549, allocations: 40.36 kB / 0.8323 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.5552, allocations: 378.4 kB / 0.8327 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.5554, allocations: 247.7 kB / 0.8329 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.5555, allocations: 129.2 kB / 0.8331 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5557, allocations: 376.5 kB / 0.8334 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.5561, allocations: 211 kB / 0.8336 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/0.5566, allocations: 325.9 kB / 0.8339 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008483/0.5574, allocations: 0.5201 MB / 0.8344 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5574, allocations: 0 / 0.8344 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001521/0.559, allocations: 0.7131 MB / 0.8351 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.559, allocations: 5.031 kB / 0.8351 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.559, allocations: 0 / 0.8351 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/0.5596, allocations: 87.89 kB / 0.8352 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/0.56, allocations: 131 kB / 0.8354 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.562, allocations: 1.641 MB / 0.837 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005204/0.5625, allocations: 77.27 kB / 0.837 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.5626, allocations: 25.42 kB / 0.8371 GB, free: 10.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (75): * Single equations (assignments): 74 * 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.0003361/0.5629, allocations: 252.7 kB / 0.8373 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.563, allocations: 82.16 kB / 0.8374 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.565, allocations: 0.9561 MB / 0.8383 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.565, allocations: 7.344 kB / 0.8383 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.565, allocations: 3.938 kB / 0.8383 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.565, allocations: 7.984 kB / 0.8383 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008274/0.5658, allocations: 0.8264 MB / 0.8391 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5658, allocations: 0 / 0.8391 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.5663, allocations: 141.6 kB / 0.8393 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003979/0.5667, allocations: 70.17 kB / 0.8393 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.5668, allocations: 19.98 kB / 0.8394 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.5685, allocations: 1.662 MB / 0.841 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5686, allocations: 2.406 kB / 0.841 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.5701, allocations: 0.8309 MB / 0.8418 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.5704, allocations: 255.1 kB / 0.842 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.5705, allocations: 17.03 kB / 0.842 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.571, allocations: 48.83 kB / 0.8421 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.5711, allocations: 60.66 kB / 0.8422 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/0.5712, allocations: 31.7 kB / 0.8422 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004484/0.5716, allocations: 430.6 kB / 0.8426 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.966e-06/0.5716, allocations: 6.25 kB / 0.8426 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006407/0.5723, allocations: 284.3 kB / 0.8429 GB, free: 6.266 MB / 0.6075 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.003436/0.5757, allocations: 1.882 MB / 0.8447 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.5771, allocations: 0.7169 MB / 0.8454 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5771, allocations: 0 / 0.8454 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000781/0.5779, allocations: 482.8 kB / 0.8459 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.579, allocations: 282 kB / 0.8461 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009613/0.5886, allocations: 5.769 MB / 0.8518 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/0.5892, allocations: 0.9993 MB / 0.8527 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007128/0.59, allocations: 254 kB / 0.853 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000467/0.5904, allocations: 343.3 kB / 0.8533 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.5904, allocations: 4 kB / 0.8533 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.925/6.515, allocations: 19.64 MB / 0.8725 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/20.57, allocations: 18.53 kB / 0.8725 GB, free: 9.238 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)