Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_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.004624/0.004624, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.001085/0.001085, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9054/0.9054, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.89 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3502, allocations: 80.91 MB / 0.6641 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004732/0.3549, allocations: 4.508 MB / 0.6685 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1471/0.502, allocations: 150.6 MB / 0.8156 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006807/0.5028, allocations: 19.88 kB / 0.8156 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.5033, allocations: 186.2 kB / 0.8158 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.5048, allocations: 0.4919 MB / 0.8163 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.5066, allocations: 0.8244 MB / 0.8171 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001242/0.5078, allocations: 1.328 MB / 0.8184 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.5089, allocations: 0.9272 MB / 0.8193 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005731/0.5095, allocations: 0.5332 MB / 0.8198 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000605/0.5101, allocations: 0.5754 MB / 0.8204 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.5103, allocations: 140 kB / 0.8205 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008461/0.5111, allocations: 0.5035 MB / 0.821 GB, free: 336 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.5114, allocations: 350.9 kB / 0.8214 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.5119, allocations: 0.6488 MB / 0.822 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.5137, allocations: 1.849 MB / 0.8238 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5138, allocations: 0 / 0.8238 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5138, allocations: 0 / 0.8238 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.5138, allocations: 0 / 0.8238 GB, free: 13.48 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002316/0.5161, allocations: 1.625 MB / 0.8254 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5161, allocations: 8.031 kB / 0.8254 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001772/0.5163, allocations: 173.5 kB / 0.8256 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009394/0.5173, allocations: 227.8 kB / 0.8258 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.5185, allocations: 0.8371 MB / 0.8266 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-05/0.5185, allocations: 86.23 kB / 0.8267 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.5187, allocations: 112 kB / 0.8268 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.5205, allocations: 1.138 MB / 0.8279 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.5206, allocations: 0 / 0.8279 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.5207, allocations: 51.94 kB / 0.8279 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.5207, allocations: 32 kB / 0.828 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.5227, allocations: 1.226 MB / 0.8292 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004243/0.5269, allocations: 2.981 MB / 0.8321 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.5283, allocations: 0.7731 MB / 0.8328 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.5288, allocations: 294.7 kB / 0.8331 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-05/0.5289, allocations: 28.69 kB / 0.8331 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007714/0.5297, allocations: 463.6 kB / 0.8336 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=78): time 2.255e-06/0.5297, allocations: 0 / 0.8336 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78): time 0.002972/0.5327, allocations: 1.139 MB / 0.8347 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.753e-05/0.5328, allocations: 188.6 kB / 0.8349 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007984/0.5336, allocations: 0.6882 MB / 0.8355 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.5336, allocations: 41.7 kB / 0.8356 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.534, allocations: 0.5123 MB / 0.8361 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.5342, allocations: 261.7 kB / 0.8363 GB, free: 264 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.5344, allocations: 146.6 kB / 0.8365 GB, free: 112 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5345, allocations: 345.9 kB / 0.8368 GB, free: 15.77 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/0.535, allocations: 233.9 kB / 0.837 GB, free: 15.54 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.5356, allocations: 342.6 kB / 0.8374 GB, free: 15.18 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.5367, allocations: 0.58 MB / 0.8379 GB, free: 14.59 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.5367, allocations: 3.938 kB / 0.8379 GB, free: 14.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001826/0.5385, allocations: 0.7984 MB / 0.8387 GB, free: 13.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5386, allocations: 4.094 kB / 0.8387 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5386, allocations: 4 kB / 0.8387 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005926/0.5392, allocations: 80.77 kB / 0.8388 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006444/0.5398, allocations: 151.8 kB / 0.8389 GB, free: 13.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.5419, allocations: 1.634 MB / 0.8405 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/0.5425, allocations: 87.44 kB / 0.8406 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.5426, allocations: 35.97 kB / 0.8406 GB, free: 11.64 MB / 0.67 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 (84): * Single equations (assignments): 83 * 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.0003927/0.543, allocations: 277 kB / 0.8409 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.5432, allocations: 91.38 kB / 0.841 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.5454, allocations: 1.027 MB / 0.842 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.5455, allocations: 8 kB / 0.842 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.5455, allocations: 4 kB / 0.842 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.5455, allocations: 3.984 kB / 0.842 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.5465, allocations: 0.9895 MB / 0.843 GB, free: 9.176 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5465, allocations: 0 / 0.843 GB, free: 9.176 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/0.5471, allocations: 143.8 kB / 0.8431 GB, free: 9.035 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/0.5476, allocations: 76.78 kB / 0.8432 GB, free: 8.957 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/0.5477, allocations: 19.98 kB / 0.8432 GB, free: 8.938 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.5495, allocations: 1.658 MB / 0.8448 GB, free: 7.133 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5495, allocations: 0 / 0.8448 GB, free: 7.133 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.5514, allocations: 0.8972 MB / 0.8457 GB, free: 6.215 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.5517, allocations: 276.2 kB / 0.846 GB, free: 5.926 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.5519, allocations: 16 kB / 0.846 GB, free: 5.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005851/0.5525, allocations: 51.94 kB / 0.846 GB, free: 5.859 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.5526, allocations: 68.91 kB / 0.8461 GB, free: 5.789 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.096e-05/0.5527, allocations: 31.98 kB / 0.8461 GB, free: 5.758 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000593/0.5533, allocations: 499 kB / 0.8466 GB, free: 5.273 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.372e-06/0.5533, allocations: 0 / 0.8466 GB, free: 5.273 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007863/0.5541, allocations: 346.8 kB / 0.8469 GB, free: 4.934 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 (89): * Single equations (assignments): 86 * 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.003216/0.5573, allocations: 1.937 MB / 0.8488 GB, free: 3.148 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.5588, allocations: 0.7727 MB / 0.8496 GB, free: 2.359 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5588, allocations: 0 / 0.8496 GB, free: 2.359 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008763/0.5597, allocations: 0.5043 MB / 0.8501 GB, free: 1.848 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.5609, allocations: 305.5 kB / 0.8504 GB, free: 1.57 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.572, allocations: 6.684 MB / 0.8569 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006419/0.5727, allocations: 1.086 MB / 0.858 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008179/0.5735, allocations: 258.9 kB / 0.8582 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/0.5741, allocations: 455.3 kB / 0.8586 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of SimCode: time 1.002e-06/0.5741, allocations: 0 / 0.8586 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3057/0.8798, allocations: 21.9 MB / 0.88 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.93, allocations: 5.906 kB / 0.88 GB, free: 186.6 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)