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.004822/0.004822, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001233/0.001233, allocations: 196.6 kB / 16.67 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.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6963/0.6963, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.89 kB / 0.5809 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3379, allocations: 80.2 MB / 0.6592 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004679/0.3426, allocations: 4.112 MB / 0.6632 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1472/0.4899, allocations: 150.5 MB / 0.8101 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007149/0.4906, allocations: 11.94 kB / 0.8101 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005037/0.4911, allocations: 170.5 kB / 0.8103 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.4926, allocations: 482.9 kB / 0.8108 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.4943, allocations: 0.7803 MB / 0.8115 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009798/0.4953, allocations: 1.172 MB / 0.8127 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007408/0.496, allocations: 0.6031 MB / 0.8133 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.4965, allocations: 422.5 kB / 0.8137 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.4969, allocations: 446 kB / 0.8141 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.497, allocations: 100 kB / 0.8142 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007221/0.4978, allocations: 467.6 kB / 0.8146 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.498, allocations: 271.1 kB / 0.8149 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003791/0.4984, allocations: 0.4896 MB / 0.8154 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.4999, allocations: 1.477 MB / 0.8168 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.4999, allocations: 0 / 0.8168 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4999, allocations: 0 / 0.8168 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.4999, allocations: 0 / 0.8168 GB, free: 4.18 MB / 0.6387 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.001969/0.5019, allocations: 1.352 MB / 0.8181 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.5019, allocations: 12.03 kB / 0.8181 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.5021, allocations: 131 kB / 0.8183 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008539/0.5029, allocations: 180.1 kB / 0.8184 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.5039, allocations: 0.7348 MB / 0.8191 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.504, allocations: 58 kB / 0.8192 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.5041, allocations: 72 kB / 0.8193 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.5054, allocations: 0.852 MB / 0.8201 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.5055, allocations: 0 / 0.8201 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/0.5055, allocations: 43.94 kB / 0.8201 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.5056, allocations: 16 kB / 0.8202 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.5071, allocations: 1.057 MB / 0.8212 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003343/0.5105, allocations: 2.329 MB / 0.8235 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.5117, allocations: 0.703 MB / 0.8242 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004525/0.5121, allocations: 270.4 kB / 0.8244 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-05/0.5122, allocations: 28.59 kB / 0.8244 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000693/0.5129, allocations: 419.2 kB / 0.8248 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=71): time 3.246e-06/0.5129, allocations: 0 / 0.8248 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71): time 0.002804/0.5157, allocations: 1.069 MB / 0.8259 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.5158, allocations: 188.6 kB / 0.8261 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/0.5166, allocations: 0.5823 MB / 0.8266 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.5166, allocations: 45.7 kB / 0.8267 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.5169, allocations: 384.8 kB / 0.827 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.5171, allocations: 245.9 kB / 0.8273 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.5173, allocations: 134.2 kB / 0.8274 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5175, allocations: 378.8 kB / 0.8278 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.5179, allocations: 213.2 kB / 0.828 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.5184, allocations: 318.7 kB / 0.8283 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.5194, allocations: 0.5238 MB / 0.8288 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5194, allocations: 3.938 kB / 0.8288 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001655/0.521, allocations: 0.7124 MB / 0.8295 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.5211, allocations: 4 kB / 0.8295 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.5211, allocations: 0 / 0.8295 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/0.5217, allocations: 84.83 kB / 0.8296 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.5222, allocations: 131.8 kB / 0.8297 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.5244, allocations: 1.634 MB / 0.8313 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/0.5249, allocations: 78.08 kB / 0.8314 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.525, allocations: 27.92 kB / 0.8314 GB, free: 4.703 MB / 0.6544 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.0003147/0.5253, allocations: 252.1 kB / 0.8316 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5254, allocations: 83.45 kB / 0.8317 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.5275, allocations: 0.9589 MB / 0.8326 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.5275, allocations: 8 kB / 0.8327 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.5275, allocations: 0 / 0.8327 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.5275, allocations: 3.984 kB / 0.8327 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008317/0.5284, allocations: 0.8257 MB / 0.8335 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5284, allocations: 4 kB / 0.8335 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/0.5289, allocations: 139.8 kB / 0.8336 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.5293, allocations: 72.78 kB / 0.8337 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/0.5294, allocations: 23.98 kB / 0.8337 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.5311, allocations: 1.658 MB / 0.8353 GB, free: 472 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5312, allocations: 3.938 kB / 0.8353 GB, free: 468 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.5328, allocations: 0.8307 MB / 0.8361 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.5331, allocations: 252.3 kB / 0.8364 GB, free: 15.35 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.967e-05/0.5333, allocations: 16 kB / 0.8364 GB, free: 15.33 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/0.5338, allocations: 59.94 kB / 0.8364 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.5339, allocations: 52.92 kB / 0.8365 GB, free: 15.22 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.5339, allocations: 35.97 kB / 0.8365 GB, free: 15.18 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004728/0.5344, allocations: 427.1 kB / 0.8369 GB, free: 14.77 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5344, allocations: 0 / 0.8369 GB, free: 14.77 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006727/0.5351, allocations: 283.2 kB / 0.8372 GB, free: 14.49 MB / 0.67 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.003007/0.5381, allocations: 1.883 MB / 0.839 GB, free: 12.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.5395, allocations: 0.72 MB / 0.8397 GB, free: 12.06 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5395, allocations: 0 / 0.8397 GB, free: 12.06 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007825/0.5403, allocations: 480.3 kB / 0.8402 GB, free: 11.58 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.5414, allocations: 284.6 kB / 0.8405 GB, free: 11.33 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009206/0.5506, allocations: 5.767 MB / 0.8461 GB, free: 5.457 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.5511, allocations: 0.996 MB / 0.8471 GB, free: 4.434 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006985/0.5518, allocations: 250 kB / 0.8473 GB, free: 4.188 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/0.5523, allocations: 343.3 kB / 0.8476 GB, free: 3.852 MB / 0.67 GB Notification: Performance of SimCode: time 1.833e-06/0.5523, allocations: 4 kB / 0.8477 GB, free: 3.848 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04245/0.5947, allocations: 19.64 MB / 0.8668 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12, allocations: 10.33 kB / 0.8668 GB, free: 0.5664 MB / 0.6856 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)