Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_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.00411/0.00411, allocations: 101.2 kB / 15.73 MB, free: 6.062 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.00123/0.00123, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8378/0.8378, allocations: 135.6 MB / 426.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.11 kB / 0.5857 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1344, allocations: 81.01 MB / 0.6649 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005951/0.1404, allocations: 4.111 MB / 0.6689 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4262/0.5667, allocations: 150.5 MB / 0.8158 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005816/0.5673, allocations: 14.84 kB / 0.8158 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.5679, allocations: 163.3 kB / 0.816 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.5693, allocations: 475.6 kB / 0.8164 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.5709, allocations: 0.7832 MB / 0.8172 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000902/0.5718, allocations: 1.167 MB / 0.8183 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007028/0.5725, allocations: 0.6037 MB / 0.8189 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000387/0.5729, allocations: 418.5 kB / 0.8193 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.5734, allocations: 441.1 kB / 0.8197 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.5735, allocations: 104.2 kB / 0.8198 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006121/0.5741, allocations: 469.8 kB / 0.8203 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.5743, allocations: 264.3 kB / 0.8205 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004389/0.5748, allocations: 0.4896 MB / 0.821 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.5764, allocations: 1.486 MB / 0.8225 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5764, allocations: 0 / 0.8225 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5764, allocations: 0 / 0.8225 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.5764, allocations: 0 / 0.8225 GB, free: 5.094 MB / 0.5919 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.002066/0.5785, allocations: 1.347 MB / 0.8238 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.5785, allocations: 10.45 kB / 0.8238 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/0.5787, allocations: 131 kB / 0.8239 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008857/0.5796, allocations: 182.8 kB / 0.8241 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.5806, allocations: 0.7285 MB / 0.8248 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.5807, allocations: 58.38 kB / 0.8249 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.5808, allocations: 75.5 kB / 0.8249 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.5822, allocations: 0.8524 MB / 0.8258 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.5822, allocations: 0 / 0.8258 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/0.5823, allocations: 34.28 kB / 0.8258 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.5823, allocations: 20.03 kB / 0.8258 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.584, allocations: 1.062 MB / 0.8269 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003483/0.5875, allocations: 2.324 MB / 0.8291 GB, free: 276 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.5887, allocations: 0.6997 MB / 0.8298 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004804/0.5892, allocations: 270.5 kB / 0.8301 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.882e-05/0.5893, allocations: 38.19 kB / 0.8301 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007313/0.59, allocations: 415.9 kB / 0.8305 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=71): time 1.894e-06/0.5901, allocations: 0.9375 kB / 0.8305 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71): time 0.002912/0.593, allocations: 1.071 MB / 0.8315 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.5931, allocations: 188.1 kB / 0.8317 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006664/0.5938, allocations: 0.5874 MB / 0.8323 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.5938, allocations: 46.3 kB / 0.8323 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.5942, allocations: 378.6 kB / 0.8327 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.5944, allocations: 245.2 kB / 0.8329 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.5946, allocations: 132.7 kB / 0.8331 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.5948, allocations: 377.8 kB / 0.8334 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/0.5953, allocations: 213.1 kB / 0.8336 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005546/0.5958, allocations: 323.9 kB / 0.8339 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000975/0.5968, allocations: 0.522 MB / 0.8344 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5968, allocations: 1.812 kB / 0.8344 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001702/0.5985, allocations: 0.7135 MB / 0.8351 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.5985, allocations: 5.031 kB / 0.8352 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.5986, allocations: 0 / 0.8352 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005922/0.5992, allocations: 90.08 kB / 0.8352 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/0.5997, allocations: 131.9 kB / 0.8354 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.6019, allocations: 1.625 MB / 0.8369 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.6024, allocations: 81.41 kB / 0.837 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/0.6025, allocations: 25.98 kB / 0.8371 GB, free: 10.6 MB / 0.6075 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.0003286/0.6028, allocations: 249 kB / 0.8373 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.603, allocations: 78.75 kB / 0.8374 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.6052, allocations: 0.9629 MB / 0.8383 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.6052, allocations: 8 kB / 0.8383 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.6052, allocations: 2.094 kB / 0.8383 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.6053, allocations: 7.984 kB / 0.8383 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009223/0.6062, allocations: 0.8265 MB / 0.8391 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6062, allocations: 0 / 0.8391 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.6067, allocations: 137.2 kB / 0.8393 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004482/0.6072, allocations: 78.78 kB / 0.8393 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-05/0.6073, allocations: 23.77 kB / 0.8394 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.6093, allocations: 1.657 MB / 0.841 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6093, allocations: 0 / 0.841 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.6111, allocations: 0.8312 MB / 0.8418 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.6114, allocations: 251 kB / 0.842 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.6115, allocations: 16.91 kB / 0.842 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/0.6121, allocations: 59.03 kB / 0.8421 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.6122, allocations: 55.14 kB / 0.8422 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/0.6123, allocations: 31.48 kB / 0.8422 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004955/0.6128, allocations: 430.7 kB / 0.8426 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6128, allocations: 3.938 kB / 0.8426 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005908/0.6134, allocations: 284.1 kB / 0.8429 GB, free: 6.359 MB / 0.6075 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.003811/0.6172, allocations: 1.879 MB / 0.8447 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.6186, allocations: 0.7197 MB / 0.8454 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6186, allocations: 0 / 0.8454 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008531/0.6195, allocations: 488 kB / 0.8459 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.6206, allocations: 280.6 kB / 0.8461 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.6311, allocations: 5.765 MB / 0.8518 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/0.6318, allocations: 0.9954 MB / 0.8527 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007049/0.6325, allocations: 261.9 kB / 0.853 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/0.633, allocations: 339.3 kB / 0.8533 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.633, allocations: 4 kB / 0.8533 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0523/0.6853, allocations: 19.65 MB / 0.8725 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.33, allocations: 6.531 kB / 0.8725 GB, free: 9.414 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)