Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_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.001233/0.001233, allocations: 107.9 kB / 16.41 MB, free: 6.508 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.001168/0.001168, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7046/0.7046, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 70.73 kB / 0.5679 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.115, allocations: 77.94 MB / 0.644 GB, free: 9.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00654/0.1216, allocations: 5.937 MB / 0.6498 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4174/0.539, allocations: 150.8 MB / 0.7971 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008633/0.5399, allocations: 18.06 kB / 0.7971 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006323/0.5405, allocations: 236.7 kB / 0.7974 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.5422, allocations: 0.6371 MB / 0.798 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.5438, allocations: 0.8703 MB / 0.7988 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001422/0.5453, allocations: 1.662 MB / 0.8005 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009834/0.5463, allocations: 0.8692 MB / 0.8013 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007634/0.547, allocations: 0.6134 MB / 0.8019 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006407/0.5477, allocations: 0.6608 MB / 0.8026 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.5479, allocations: 155.9 kB / 0.8027 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008659/0.5488, allocations: 0.5119 MB / 0.8032 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.549, allocations: 374.9 kB / 0.8036 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005443/0.5496, allocations: 0.7423 MB / 0.8043 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.5516, allocations: 2.039 MB / 0.8063 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5516, allocations: 7.125 kB / 0.8063 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5516, allocations: 4.156 kB / 0.8063 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.448e-05/0.5516, allocations: 0 / 0.8063 GB, free: 11.06 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002822/0.5545, allocations: 1.764 MB / 0.808 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.5545, allocations: 9.281 kB / 0.808 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.5547, allocations: 177.6 kB / 0.8082 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009495/0.5557, allocations: 230.7 kB / 0.8084 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.5569, allocations: 0.8806 MB / 0.8093 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.557, allocations: 87.5 kB / 0.8094 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.5571, allocations: 115.7 kB / 0.8095 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.559, allocations: 1.208 MB / 0.8107 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.559, allocations: 0 / 0.8107 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.474e-05/0.5591, allocations: 50.41 kB / 0.8107 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.5591, allocations: 32.22 kB / 0.8107 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.5609, allocations: 1.28 MB / 0.812 GB, free: 8.656 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004545/0.5655, allocations: 3.554 MB / 0.8155 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.5669, allocations: 0.8714 MB / 0.8163 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/0.5674, allocations: 326.5 kB / 0.8166 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-05/0.5675, allocations: 31.56 kB / 0.8166 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008235/0.5683, allocations: 0.5156 MB / 0.8171 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=87): time 2.455e-06/0.5684, allocations: 0 / 0.8171 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87): time 0.003104/0.5715, allocations: 1.29 MB / 0.8184 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/0.5716, allocations: 190.9 kB / 0.8186 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008309/0.5724, allocations: 0.7347 MB / 0.8193 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.369e-05/0.5725, allocations: 42.8 kB / 0.8193 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/0.5729, allocations: 0.5311 MB / 0.8199 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.5731, allocations: 288.4 kB / 0.8201 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.5733, allocations: 160.4 kB / 0.8203 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5734, allocations: 341.5 kB / 0.8206 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/0.5739, allocations: 269.3 kB / 0.8209 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000584/0.5745, allocations: 389.4 kB / 0.8212 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5756, allocations: 0.6356 MB / 0.8219 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5756, allocations: 0 / 0.8219 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001849/0.5775, allocations: 0.8799 MB / 0.8227 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.5775, allocations: 7 kB / 0.8227 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5775, allocations: 2.562 kB / 0.8227 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005622/0.5781, allocations: 87.44 kB / 0.8228 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/0.5787, allocations: 166.6 kB / 0.823 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.5807, allocations: 1.639 MB / 0.8246 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007411/0.5814, allocations: 104.3 kB / 0.8247 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.5815, allocations: 40.34 kB / 0.8247 GB, free: 15.82 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: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0004437/0.582, allocations: 298.3 kB / 0.825 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.5821, allocations: 100.5 kB / 0.8251 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.5844, allocations: 1.122 MB / 0.8262 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.5844, allocations: 13.56 kB / 0.8262 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.5844, allocations: 0 / 0.8262 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.5844, allocations: 3.984 kB / 0.8262 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.5856, allocations: 1.053 MB / 0.8272 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5856, allocations: 7.984 kB / 0.8272 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.5862, allocations: 149.7 kB / 0.8274 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000417/0.5866, allocations: 66.86 kB / 0.8275 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.608e-05/0.5867, allocations: 31.31 kB / 0.8275 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.5884, allocations: 1.669 MB / 0.8291 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5885, allocations: 2.094 kB / 0.8291 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.5904, allocations: 0.9839 MB / 0.8301 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/0.5908, allocations: 293.1 kB / 0.8304 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.591, allocations: 25.22 kB / 0.8304 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/0.5916, allocations: 61.72 kB / 0.8304 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.5918, allocations: 79.83 kB / 0.8305 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.459e-05/0.5918, allocations: 37.86 kB / 0.8306 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005914/0.5924, allocations: 0.5195 MB / 0.8311 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5924, allocations: 2.562 kB / 0.8311 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008476/0.5933, allocations: 385.8 kB / 0.8314 GB, free: 11.12 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003255/0.5965, allocations: 2.041 MB / 0.8334 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.5982, allocations: 0.8567 MB / 0.8343 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5982, allocations: 0 / 0.8343 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000907/0.5991, allocations: 0.5488 MB / 0.8348 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.6004, allocations: 328.9 kB / 0.8351 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.6109, allocations: 7.07 MB / 0.842 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/0.6116, allocations: 1.114 MB / 0.8431 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008872/0.6125, allocations: 291.6 kB / 0.8434 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/0.6131, allocations: 487.2 kB / 0.8438 GB, free: 428 kB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.6131, allocations: 0 / 0.8438 GB, free: 428 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05227/0.6654, allocations: 24.13 MB / 0.8674 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.97, allocations: 11.44 kB / 0.8674 GB, free: 8.621 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)