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.001128/0.001128, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009112/0.0009112, allocations: 190.7 kB / 16.25 MB, free: 6.617 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.191/1.191, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6958/0.6958, allocations: 132.2 MB / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 63.42 kB / 0.5014 GB, free: 9.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1215, allocations: 80.21 MB / 0.5797 GB, free: 9.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00514/0.1267, allocations: 4.122 MB / 0.5837 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3331/0.4597, allocations: 148.2 MB / 0.7285 GB, free: 3.066 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005571/0.4603, allocations: 19.16 kB / 0.7285 GB, free: 3.059 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.4608, allocations: 136.2 kB / 0.7286 GB, free: 2.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.4621, allocations: 421.2 kB / 0.729 GB, free: 2.766 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.4636, allocations: 0.6977 MB / 0.7297 GB, free: 2.398 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009483/0.4645, allocations: 1.169 MB / 0.7308 GB, free: 1.793 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007098/0.4652, allocations: 0.5903 MB / 0.7314 GB, free: 1.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004142/0.4657, allocations: 425.4 kB / 0.7318 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.4661, allocations: 442.1 kB / 0.7322 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.4662, allocations: 101.9 kB / 0.7323 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006188/0.4668, allocations: 446.9 kB / 0.7328 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.4671, allocations: 267.9 kB / 0.733 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.4675, allocations: 0.4937 MB / 0.7335 GB, free: 432 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.4687, allocations: 1.435 MB / 0.7349 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.4687, allocations: 0 / 0.7349 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4687, allocations: 2.281 kB / 0.7349 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.4687, allocations: 0 / 0.7349 GB, free: 15.82 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001823/0.4705, allocations: 1.32 MB / 0.7362 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.4706, allocations: 8.094 kB / 0.7362 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.4707, allocations: 130.2 kB / 0.7363 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/0.4715, allocations: 177.5 kB / 0.7365 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/0.4723, allocations: 0.7008 MB / 0.7372 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.4724, allocations: 63.25 kB / 0.7372 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-05/0.4725, allocations: 76.19 kB / 0.7373 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.4737, allocations: 0.8486 MB / 0.7381 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.4737, allocations: 0 / 0.7381 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.165e-05/0.4738, allocations: 35.62 kB / 0.7382 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.4738, allocations: 19.22 kB / 0.7382 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.4753, allocations: 1.057 MB / 0.7392 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/0.4783, allocations: 2.351 MB / 0.7415 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.4794, allocations: 0.7036 MB / 0.7422 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.4798, allocations: 265.3 kB / 0.7424 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.614e-05/0.4799, allocations: 38.94 kB / 0.7425 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006798/0.4805, allocations: 417.8 kB / 0.7429 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=71): time 1.773e-06/0.4805, allocations: 0 / 0.7429 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71): time 0.002596/0.4831, allocations: 1.064 MB / 0.7439 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/0.4832, allocations: 192.5 kB / 0.7441 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005613/0.4838, allocations: 0.5837 MB / 0.7447 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.4839, allocations: 45.7 kB / 0.7447 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.4841, allocations: 376.2 kB / 0.7451 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.4843, allocations: 224.7 kB / 0.7453 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.4844, allocations: 138.7 kB / 0.7454 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4846, allocations: 378.8 kB / 0.7458 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/0.485, allocations: 213.2 kB / 0.746 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/0.4854, allocations: 318.8 kB / 0.7463 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008637/0.4863, allocations: 0.5199 MB / 0.7468 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4863, allocations: 7.094 kB / 0.7468 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001554/0.4879, allocations: 0.7119 MB / 0.7475 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4879, allocations: 4 kB / 0.7475 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4879, allocations: 0 / 0.7475 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/0.4885, allocations: 80.84 kB / 0.7476 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.4891, allocations: 139.8 kB / 0.7477 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.4909, allocations: 1.627 MB / 0.7493 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.4914, allocations: 83.39 kB / 0.7494 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.4914, allocations: 23.98 kB / 0.7494 GB, free: 4.855 MB / 0.5606 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.000286/0.4917, allocations: 252.6 kB / 0.7496 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.4918, allocations: 79 kB / 0.7497 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.4938, allocations: 0.9661 MB / 0.7507 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4939, allocations: 8 kB / 0.7507 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.4939, allocations: 0 / 0.7507 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.4939, allocations: 7.984 kB / 0.7507 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007773/0.4947, allocations: 0.8255 MB / 0.7515 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4947, allocations: 0 / 0.7515 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/0.4952, allocations: 141.1 kB / 0.7516 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004172/0.4956, allocations: 72.78 kB / 0.7517 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.4957, allocations: 19.98 kB / 0.7517 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.4973, allocations: 1.655 MB / 0.7533 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4973, allocations: 8.047 kB / 0.7533 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.4989, allocations: 0.8225 MB / 0.7541 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.4992, allocations: 251.8 kB / 0.7544 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.4993, allocations: 23.94 kB / 0.7544 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.4998, allocations: 51.94 kB / 0.7545 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.4999, allocations: 53.06 kB / 0.7545 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.5, allocations: 43.67 kB / 0.7545 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000424/0.5004, allocations: 431 kB / 0.755 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5004, allocations: 0 / 0.755 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006474/0.5011, allocations: 279.2 kB / 0.7552 GB, free: 14.66 MB / 0.5762 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.002891/0.504, allocations: 1.862 MB / 0.757 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.5057, allocations: 0.8987 MB / 0.7579 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5057, allocations: 0 / 0.7579 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007607/0.5065, allocations: 485 kB / 0.7584 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009922/0.5075, allocations: 292.3 kB / 0.7587 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009846/0.5174, allocations: 6.267 MB / 0.7648 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.5178, allocations: 0.9966 MB / 0.7658 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006992/0.5185, allocations: 250.1 kB / 0.766 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/0.519, allocations: 351.2 kB / 0.7663 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.519, allocations: 0 / 0.7663 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6673/1.186, allocations: 19.27 MB / 0.7851 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/1.187, allocations: 307.2 kB / 0.7854 GB, free: 148 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/3.354, allocations: 64 / 0.7854 GB, free: 148 kB / 0.5919 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)