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.0007187/0.0007189, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.004152/0.004152, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7003/0.7003, allocations: 132.3 MB / 423.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002829, allocations: 8 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.323, allocations: 81.57 MB / 0.5838 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004395/0.3275, allocations: 3.725 MB / 0.5874 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1394/0.4668, allocations: 146.5 MB / 0.7305 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005771/0.4674, allocations: 11.94 kB / 0.7305 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.4679, allocations: 131 kB / 0.7306 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.4691, allocations: 401 kB / 0.731 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.4705, allocations: 0.6882 MB / 0.7317 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001047/0.4716, allocations: 1.082 MB / 0.7327 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007073/0.4723, allocations: 0.5745 MB / 0.7333 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.4727, allocations: 294.5 kB / 0.7336 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.4731, allocations: 322.2 kB / 0.7339 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.828e-05/0.4732, allocations: 20 kB / 0.7339 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006034/0.4738, allocations: 367.5 kB / 0.7342 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.474, allocations: 171.2 kB / 0.7344 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.4743, allocations: 407.1 kB / 0.7348 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.4755, allocations: 1.339 MB / 0.7361 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4755, allocations: 4 kB / 0.7361 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4755, allocations: 0 / 0.7361 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.242e-05/0.4755, allocations: 0 / 0.7361 GB, free: 3.867 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.00173/0.4773, allocations: 1.128 MB / 0.7372 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.4773, allocations: 8.031 kB / 0.7372 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.4775, allocations: 131 kB / 0.7373 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008194/0.4783, allocations: 183.5 kB / 0.7375 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008621/0.4792, allocations: 0.6992 MB / 0.7382 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.4792, allocations: 58 kB / 0.7383 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.195e-05/0.4793, allocations: 79.94 kB / 0.7383 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.4806, allocations: 0.852 MB / 0.7392 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.4806, allocations: 0 / 0.7392 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-05/0.4807, allocations: 36 kB / 0.7392 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.4807, allocations: 24 kB / 0.7392 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.4822, allocations: 1.061 MB / 0.7403 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.4855, allocations: 2.395 MB / 0.7426 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.4867, allocations: 0.7108 MB / 0.7433 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.4872, allocations: 266.4 kB / 0.7435 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-05/0.4872, allocations: 32.67 kB / 0.7436 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006929/0.4879, allocations: 427.1 kB / 0.744 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=71): time 1.733e-06/0.488, allocations: 0 / 0.744 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71): time 0.002709/0.4907, allocations: 1.084 MB / 0.745 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.4908, allocations: 188.6 kB / 0.7452 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006311/0.4914, allocations: 0.5862 MB / 0.7458 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.4915, allocations: 37.7 kB / 0.7458 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.4917, allocations: 380.2 kB / 0.7462 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.4919, allocations: 228.7 kB / 0.7464 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.492, allocations: 53.69 kB / 0.7465 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4921, allocations: 374.8 kB / 0.7468 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/0.4925, allocations: 217.2 kB / 0.747 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.493, allocations: 330.7 kB / 0.7473 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000885/0.4939, allocations: 0.5238 MB / 0.7479 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4939, allocations: 7.938 kB / 0.7479 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001551/0.4955, allocations: 0.7198 MB / 0.7486 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.4955, allocations: 4 kB / 0.7486 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.4955, allocations: 0 / 0.7486 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005627/0.4961, allocations: 88.81 kB / 0.7487 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.4966, allocations: 135.8 kB / 0.7488 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.4983, allocations: 1.52 MB / 0.7503 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.4988, allocations: 88.89 kB / 0.7504 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/0.4989, allocations: 27.98 kB / 0.7504 GB, free: 4.711 MB / 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.0002868/0.4992, allocations: 247.5 kB / 0.7506 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.847e-05/0.4993, allocations: 75.06 kB / 0.7507 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.5013, allocations: 0.9747 MB / 0.7516 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.5013, allocations: 16 kB / 0.7517 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.5013, allocations: 3.938 kB / 0.7517 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.5013, allocations: 3.984 kB / 0.7517 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007818/0.5021, allocations: 0.8215 MB / 0.7525 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5021, allocations: 0 / 0.7525 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005055/0.5026, allocations: 147.8 kB / 0.7526 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000488/0.5031, allocations: 84.77 kB / 0.7527 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.5032, allocations: 19.98 kB / 0.7527 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.5048, allocations: 1.54 MB / 0.7542 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5048, allocations: 0 / 0.7542 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.5063, allocations: 0.8382 MB / 0.755 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.5066, allocations: 271.8 kB / 0.7553 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.273e-05/0.5067, allocations: 19.94 kB / 0.7553 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005107/0.5072, allocations: 72.59 kB / 0.7554 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.5073, allocations: 56.92 kB / 0.7554 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.5074, allocations: 27.98 kB / 0.7555 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004381/0.5078, allocations: 431 kB / 0.7559 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5078, allocations: 0 / 0.7559 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005838/0.5084, allocations: 275.4 kB / 0.7561 GB, free: 14.57 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.002842/0.5113, allocations: 1.87 MB / 0.758 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.5125, allocations: 0.716 MB / 0.7587 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5125, allocations: 4 kB / 0.7587 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007336/0.5133, allocations: 488.5 kB / 0.7591 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.5143, allocations: 265.5 kB / 0.7594 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009782/0.5241, allocations: 6.367 MB / 0.7656 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.5246, allocations: 0.9921 MB / 0.7666 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006607/0.5252, allocations: 254 kB / 0.7668 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/0.5257, allocations: 347.3 kB / 0.7671 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.5257, allocations: 3.938 kB / 0.7671 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6381/1.164, allocations: 18.47 MB / 0.7852 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/1.164, allocations: 307.4 kB / 0.7855 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/3.342, allocations: 0 / 0.7855 GB, free: 0.8984 MB / 0.6075 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)