Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_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.005718/0.005718, 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.001472/0.001472, allocations: 197.7 kB / 16.68 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.313/1.313, 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/package.mo): time 0.7834/0.7834, allocations: 132.2 MB / 422.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 67.39 kB / 0.5809 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1335, allocations: 80.21 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005821/0.1394, allocations: 4.101 MB / 0.6632 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4359/0.5754, allocations: 150.4 MB / 0.8101 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006886/0.5761, allocations: 21.66 kB / 0.8101 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.5766, allocations: 163.9 kB / 0.8103 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.5779, allocations: 477.7 kB / 0.8107 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.5792, allocations: 0.787 MB / 0.8115 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009491/0.5802, allocations: 1.167 MB / 0.8127 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000713/0.5809, allocations: 0.5984 MB / 0.8132 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004615/0.5814, allocations: 424.3 kB / 0.8136 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004371/0.5818, allocations: 436.1 kB / 0.8141 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.582, allocations: 105.7 kB / 0.8142 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007519/0.5827, allocations: 476.1 kB / 0.8146 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.583, allocations: 267.4 kB / 0.8149 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.5833, allocations: 498.9 kB / 0.8153 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.5847, allocations: 1.477 MB / 0.8168 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5847, allocations: 0 / 0.8168 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5848, allocations: 0 / 0.8168 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.5848, allocations: 0 / 0.8168 GB, free: 9.848 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.001933/0.5867, allocations: 1.353 MB / 0.8181 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.5868, allocations: 12 kB / 0.8181 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.5869, allocations: 134.9 kB / 0.8182 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.5877, allocations: 179.5 kB / 0.8184 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009601/0.5887, allocations: 0.7343 MB / 0.8191 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.5888, allocations: 57.31 kB / 0.8192 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.5889, allocations: 77.81 kB / 0.8193 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.5902, allocations: 0.8476 MB / 0.8201 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.5902, allocations: 2.375 kB / 0.8201 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.039e-05/0.5903, allocations: 36.38 kB / 0.8201 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.5903, allocations: 17.97 kB / 0.8201 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.5918, allocations: 1.054 MB / 0.8212 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/0.5951, allocations: 2.326 MB / 0.8234 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.5963, allocations: 0.7002 MB / 0.8241 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/0.5968, allocations: 270.5 kB / 0.8244 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.727e-05/0.5969, allocations: 30.75 kB / 0.8244 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000711/0.5976, allocations: 424.3 kB / 0.8248 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=71): time 2.164e-06/0.5976, allocations: 0 / 0.8248 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71): time 0.00284/0.6004, allocations: 1.067 MB / 0.8259 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.6006, allocations: 192.2 kB / 0.826 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/0.6012, allocations: 0.5839 MB / 0.8266 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.6013, allocations: 42.55 kB / 0.8267 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.6016, allocations: 382.2 kB / 0.827 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.6018, allocations: 243.4 kB / 0.8273 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.602, allocations: 132.1 kB / 0.8274 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.6022, allocations: 381.2 kB / 0.8277 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.6026, allocations: 213.1 kB / 0.8279 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005078/0.6031, allocations: 316.4 kB / 0.8283 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008983/0.604, allocations: 0.5202 MB / 0.8288 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.604, allocations: 0 / 0.8288 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001598/0.6056, allocations: 0.7206 MB / 0.8295 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.6056, allocations: 4.781 kB / 0.8295 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6056, allocations: 6.656 kB / 0.8295 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005724/0.6062, allocations: 74.97 kB / 0.8295 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/0.6068, allocations: 144.9 kB / 0.8297 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.6088, allocations: 1.634 MB / 0.8313 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.6093, allocations: 82.08 kB / 0.8314 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.6094, allocations: 25.05 kB / 0.8314 GB, free: 15.75 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.0003215/0.6097, allocations: 246.7 kB / 0.8316 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.6098, allocations: 82.47 kB / 0.8317 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.6119, allocations: 0.9626 MB / 0.8326 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.6119, allocations: 9.438 kB / 0.8326 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.6119, allocations: 0 / 0.8326 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.612, allocations: 3.984 kB / 0.8326 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008777/0.6128, allocations: 0.8309 MB / 0.8335 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6129, allocations: 0 / 0.8335 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.6134, allocations: 133.5 kB / 0.8336 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000441/0.6138, allocations: 78.59 kB / 0.8337 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/0.6139, allocations: 27.48 kB / 0.8337 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.6158, allocations: 1.649 MB / 0.8353 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6158, allocations: 64 / 0.8353 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.6175, allocations: 0.8377 MB / 0.8361 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.6178, allocations: 253.7 kB / 0.8364 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.972e-05/0.6179, allocations: 20.98 kB / 0.8364 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.6184, allocations: 52.47 kB / 0.8364 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.6186, allocations: 57.05 kB / 0.8365 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/0.6186, allocations: 27.67 kB / 0.8365 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004761/0.6191, allocations: 434.3 kB / 0.8369 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.6191, allocations: 0 / 0.8369 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006569/0.6198, allocations: 282.9 kB / 0.8372 GB, free: 11.54 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.003592/0.6234, allocations: 1.877 MB / 0.839 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.6247, allocations: 0.7132 MB / 0.8397 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6248, allocations: 2.781 kB / 0.8397 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007806/0.6255, allocations: 484.6 kB / 0.8402 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.6266, allocations: 303.8 kB / 0.8405 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009766/0.6364, allocations: 5.771 MB / 0.8461 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.6371, allocations: 0.9915 MB / 0.8471 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000743/0.6378, allocations: 250.1 kB / 0.8473 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/0.6383, allocations: 346.7 kB / 0.8476 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.6383, allocations: 0 / 0.8476 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6556/1.294, allocations: 19.63 MB / 0.8668 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/14.06, allocations: 12.98 kB / 0.8668 GB, free: 15.72 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)