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.001372/0.001372, allocations: 108 kB / 15.6 MB, free: 132 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.001552/0.001552, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.252/1.252, 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/package.mo): time 0.7033/0.7033, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.97 kB / 0.5019 GB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3309, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005071/0.336, allocations: 4.113 MB / 0.5842 GB, free: 1.652 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1501/0.4862, allocations: 150.4 MB / 0.7311 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008746/0.4871, allocations: 19.88 kB / 0.7312 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000703/0.4878, allocations: 162.5 kB / 0.7313 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.4897, allocations: 467.1 kB / 0.7318 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.4918, allocations: 0.7746 MB / 0.7325 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.4933, allocations: 1.168 MB / 0.7337 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007818/0.4941, allocations: 0.6021 MB / 0.7342 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004678/0.4945, allocations: 422.5 kB / 0.7346 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.495, allocations: 442 kB / 0.7351 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.4951, allocations: 100 kB / 0.7352 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007861/0.4959, allocations: 439.7 kB / 0.7356 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.4961, allocations: 267.1 kB / 0.7358 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.4965, allocations: 497.3 kB / 0.7363 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.4978, allocations: 1.441 MB / 0.7377 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4978, allocations: 4 kB / 0.7377 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4978, allocations: 0 / 0.7377 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.4979, allocations: 0 / 0.7377 GB, free: 15.63 MB / 0.5762 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.001892/0.4998, allocations: 1.311 MB / 0.739 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.4998, allocations: 8.031 kB / 0.739 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.4999, allocations: 135 kB / 0.7391 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008462/0.5008, allocations: 179.5 kB / 0.7393 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008278/0.5016, allocations: 0.6993 MB / 0.74 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.5017, allocations: 54 kB / 0.74 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.919e-05/0.5018, allocations: 80 kB / 0.7401 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.503, allocations: 0.852 MB / 0.7409 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.503, allocations: 7.922 kB / 0.741 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.265e-05/0.5031, allocations: 32 kB / 0.741 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.5031, allocations: 20 kB / 0.741 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.5046, allocations: 1.057 MB / 0.742 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/0.5077, allocations: 2.351 MB / 0.7443 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.5088, allocations: 0.7108 MB / 0.745 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/0.5093, allocations: 266.4 kB / 0.7453 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.112e-05/0.5094, allocations: 36.66 kB / 0.7453 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007138/0.5101, allocations: 419.2 kB / 0.7457 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=71): time 3.166e-06/0.5101, allocations: 0 / 0.7457 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71): time 0.002705/0.5128, allocations: 1.065 MB / 0.7468 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/0.5129, allocations: 192.6 kB / 0.7469 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006118/0.5135, allocations: 0.5823 MB / 0.7475 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.5136, allocations: 41.7 kB / 0.7475 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.5138, allocations: 380.2 kB / 0.7479 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.514, allocations: 232.7 kB / 0.7481 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.5142, allocations: 134.2 kB / 0.7483 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5143, allocations: 382.7 kB / 0.7486 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.5147, allocations: 209.2 kB / 0.7488 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.5152, allocations: 322.8 kB / 0.7491 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/0.5161, allocations: 0.5199 MB / 0.7496 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5161, allocations: 7.938 kB / 0.7496 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001561/0.5177, allocations: 0.712 MB / 0.7503 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5177, allocations: 7.938 kB / 0.7504 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5177, allocations: 4 kB / 0.7504 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005784/0.5183, allocations: 76.83 kB / 0.7504 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.5188, allocations: 139.8 kB / 0.7506 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.5207, allocations: 1.623 MB / 0.7521 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/0.5212, allocations: 75.36 kB / 0.7522 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.5213, allocations: 27.98 kB / 0.7522 GB, free: 216 kB / 0.5762 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.0003255/0.5216, allocations: 247.3 kB / 0.7525 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.5218, allocations: 82.98 kB / 0.7526 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.5238, allocations: 0.9589 MB / 0.7535 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.5239, allocations: 12 kB / 0.7535 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5239, allocations: 4 kB / 0.7535 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.5239, allocations: 3.984 kB / 0.7535 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008253/0.5247, allocations: 0.8215 MB / 0.7543 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5247, allocations: 0 / 0.7543 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005152/0.5252, allocations: 135.8 kB / 0.7544 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/0.5257, allocations: 80.72 kB / 0.7545 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/0.5257, allocations: 23.98 kB / 0.7545 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.5275, allocations: 1.654 MB / 0.7562 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5275, allocations: 0 / 0.7562 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.5291, allocations: 0.8265 MB / 0.757 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.5294, allocations: 251.8 kB / 0.7572 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/0.5295, allocations: 20 kB / 0.7572 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/0.53, allocations: 54.28 kB / 0.7573 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.5301, allocations: 60.86 kB / 0.7573 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.519e-05/0.5302, allocations: 31.97 kB / 0.7574 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004632/0.5306, allocations: 431.1 kB / 0.7578 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5306, allocations: 0 / 0.7578 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006844/0.5313, allocations: 287.2 kB / 0.7581 GB, free: 10 MB / 0.5919 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.002948/0.5343, allocations: 1.864 MB / 0.7599 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.5362, allocations: 0.8993 MB / 0.7608 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.5362, allocations: 7.984 kB / 0.7608 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007763/0.537, allocations: 484.5 kB / 0.7612 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.5381, allocations: 271.7 kB / 0.7615 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009102/0.5472, allocations: 5.911 MB / 0.7673 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.5477, allocations: 0.992 MB / 0.7682 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007549/0.5484, allocations: 254.1 kB / 0.7685 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.5489, allocations: 343.3 kB / 0.7688 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of SimCode: time 8.31e-07/0.5489, allocations: 4 kB / 0.7688 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7508/1.3, allocations: 19.43 MB / 0.7878 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/12.19, allocations: 7.797 kB / 0.7878 GB, free: 12.01 MB / 0.6231 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)