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.0009974/0.0009974, allocations: 108 kB / 15.61 MB, free: 148 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.0009836/0.0009835, allocations: 196.2 kB / 16.53 MB, free: 6.656 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.207/1.207, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7246/0.7246, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 67.33 kB / 0.5019 GB, free: 8.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.122, allocations: 80.2 MB / 0.5802 GB, free: 8.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005165/0.1272, allocations: 4.104 MB / 0.5842 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.336/0.4633, allocations: 150.4 MB / 0.7311 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005511/0.4638, allocations: 15.69 kB / 0.7311 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.4644, allocations: 167.7 kB / 0.7313 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.4658, allocations: 478.6 kB / 0.7318 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.4675, allocations: 0.7903 MB / 0.7325 GB, free: 496 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.4686, allocations: 1.158 MB / 0.7337 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008042/0.4694, allocations: 0.5954 MB / 0.7342 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005665/0.47, allocations: 419.1 kB / 0.7346 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005636/0.4706, allocations: 439.6 kB / 0.7351 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.4707, allocations: 101.7 kB / 0.7352 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008225/0.4716, allocations: 445.8 kB / 0.7356 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.4719, allocations: 271.3 kB / 0.7358 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005134/0.4724, allocations: 495.4 kB / 0.7363 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.4738, allocations: 1.436 MB / 0.7377 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4738, allocations: 0 / 0.7377 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4738, allocations: 0 / 0.7377 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.529e-05/0.4738, allocations: 0 / 0.7377 GB, free: 13.93 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.002129/0.476, allocations: 1.325 MB / 0.739 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.476, allocations: 10.19 kB / 0.739 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.4762, allocations: 123.8 kB / 0.7391 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008763/0.477, allocations: 183.4 kB / 0.7393 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008712/0.4779, allocations: 0.706 MB / 0.74 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.478, allocations: 61.61 kB / 0.7401 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.95e-05/0.4781, allocations: 76.78 kB / 0.7401 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.4794, allocations: 0.8471 MB / 0.741 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.4794, allocations: 0 / 0.741 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/0.4795, allocations: 32.44 kB / 0.741 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.4795, allocations: 23.12 kB / 0.741 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.481, allocations: 1.054 MB / 0.742 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/0.4841, allocations: 2.353 MB / 0.7443 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.4852, allocations: 0.702 MB / 0.745 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004303/0.4856, allocations: 276.5 kB / 0.7453 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.027e-05/0.4857, allocations: 33.2 kB / 0.7453 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006402/0.4863, allocations: 418.2 kB / 0.7457 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=71): time 1.803e-06/0.4863, allocations: 0 / 0.7457 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71): time 0.002664/0.489, allocations: 1.063 MB / 0.7468 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.4891, allocations: 192.7 kB / 0.7469 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/0.4897, allocations: 0.5873 MB / 0.7475 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.4898, allocations: 41.7 kB / 0.7476 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.49, allocations: 380.2 kB / 0.7479 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.4902, allocations: 228.7 kB / 0.7481 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.4904, allocations: 134.2 kB / 0.7483 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4906, allocations: 378.7 kB / 0.7486 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004137/0.491, allocations: 213.2 kB / 0.7488 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.4915, allocations: 314.7 kB / 0.7491 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009082/0.4924, allocations: 0.5199 MB / 0.7496 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4924, allocations: 0 / 0.7496 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001614/0.494, allocations: 0.7158 MB / 0.7503 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4941, allocations: 8 kB / 0.7503 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4941, allocations: 0 / 0.7503 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/0.4947, allocations: 84.83 kB / 0.7504 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.4952, allocations: 131.8 kB / 0.7506 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.4971, allocations: 1.637 MB / 0.7522 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.4976, allocations: 75.41 kB / 0.7522 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.4977, allocations: 27.98 kB / 0.7523 GB, free: 1.98 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.0002917/0.498, allocations: 251.2 kB / 0.7525 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.4981, allocations: 79 kB / 0.7526 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.5002, allocations: 0.9549 MB / 0.7535 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.5002, allocations: 8 kB / 0.7535 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.5002, allocations: 0 / 0.7535 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.5003, allocations: 3.984 kB / 0.7535 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008148/0.5011, allocations: 0.8293 MB / 0.7543 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5011, allocations: 0 / 0.7543 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/0.5016, allocations: 143.9 kB / 0.7545 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/0.502, allocations: 72.72 kB / 0.7545 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.5021, allocations: 19.98 kB / 0.7545 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.5038, allocations: 1.662 MB / 0.7562 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5039, allocations: 0 / 0.7562 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.5055, allocations: 0.8225 MB / 0.757 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.5058, allocations: 255.6 kB / 0.7572 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.5059, allocations: 15.94 kB / 0.7572 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.5064, allocations: 57.97 kB / 0.7573 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.5066, allocations: 64.91 kB / 0.7573 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/0.5066, allocations: 27.98 kB / 0.7574 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004493/0.5071, allocations: 431 kB / 0.7578 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5071, allocations: 0 / 0.7578 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006261/0.5077, allocations: 283.2 kB / 0.7581 GB, free: 11.79 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.00299/0.5107, allocations: 1.868 MB / 0.7599 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001833/0.5126, allocations: 0.8869 MB / 0.7607 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5126, allocations: 0 / 0.7607 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007988/0.5134, allocations: 489 kB / 0.7612 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.5144, allocations: 285.3 kB / 0.7615 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009105/0.5235, allocations: 5.913 MB / 0.7673 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.524, allocations: 0.9927 MB / 0.7682 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006969/0.5247, allocations: 254 kB / 0.7685 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004357/0.5252, allocations: 343.3 kB / 0.7688 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.5252, allocations: 0 / 0.7688 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04053/0.5657, allocations: 19.42 MB / 0.7878 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.89, allocations: 21.67 kB / 0.7878 GB, free: 13.8 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)