Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_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.001787/0.001793, allocations: 109.7 kB / 16.41 MB, free: 6.5 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.00181/0.00181, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.422/1.422, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8211/0.8211, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.84 kB / 0.5735 GB, free: 27.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1413, allocations: 78.86 MB / 0.6505 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006785/0.1481, allocations: 4.85 MB / 0.6553 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4771/0.6252, allocations: 150.6 MB / 0.8023 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006929/0.626, allocations: 14.25 kB / 0.8023 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005396/0.6265, allocations: 201.6 kB / 0.8025 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.628, allocations: 0.5414 MB / 0.8031 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.6296, allocations: 0.8323 MB / 0.8039 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001305/0.6309, allocations: 1.377 MB / 0.8052 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007348/0.6317, allocations: 0.5729 MB / 0.8058 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006117/0.6323, allocations: 488.2 kB / 0.8062 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.6328, allocations: 0.502 MB / 0.8067 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.633, allocations: 113.2 kB / 0.8068 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007996/0.6338, allocations: 488.4 kB / 0.8073 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.634, allocations: 292.1 kB / 0.8076 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.6345, allocations: 0.5525 MB / 0.8081 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.6361, allocations: 1.631 MB / 0.8097 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6361, allocations: 0 / 0.8097 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6361, allocations: 0 / 0.8097 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.071e-05/0.6361, allocations: 0 / 0.8097 GB, free: 10.97 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002392/0.6385, allocations: 1.465 MB / 0.8111 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.6386, allocations: 11.06 kB / 0.8112 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.6387, allocations: 131.2 kB / 0.8113 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008992/0.6396, allocations: 194.6 kB / 0.8115 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.6408, allocations: 0.7638 MB / 0.8122 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/0.6408, allocations: 68.28 kB / 0.8123 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.951e-05/0.6409, allocations: 80.66 kB / 0.8124 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.6424, allocations: 0.9204 MB / 0.8133 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.6425, allocations: 3.188 kB / 0.8133 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.6425, allocations: 31.97 kB / 0.8133 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.6426, allocations: 22.38 kB / 0.8133 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.6443, allocations: 1.101 MB / 0.8144 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/0.648, allocations: 2.742 MB / 0.8171 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.6494, allocations: 0.7912 MB / 0.8178 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005139/0.65, allocations: 309.8 kB / 0.8181 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.419e-05/0.65, allocations: 34.69 kB / 0.8182 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008251/0.6509, allocations: 489.4 kB / 0.8186 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.455e-06/0.6509, allocations: 0 / 0.8186 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.00306/0.6539, allocations: 1.202 MB / 0.8198 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.6541, allocations: 187.9 kB / 0.82 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007384/0.6548, allocations: 0.6341 MB / 0.8206 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/0.6549, allocations: 38.11 kB / 0.8206 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.6552, allocations: 401.2 kB / 0.821 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.6554, allocations: 271.2 kB / 0.8213 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.6557, allocations: 145.8 kB / 0.8214 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.6559, allocations: 395.5 kB / 0.8218 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004883/0.6564, allocations: 245.4 kB / 0.822 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.657, allocations: 367.3 kB / 0.8224 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.658, allocations: 0.5843 MB / 0.823 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.658, allocations: 0 / 0.823 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001818/0.6599, allocations: 0.8038 MB / 0.8237 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.6599, allocations: 4.406 kB / 0.8237 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.6599, allocations: 3.031 kB / 0.8237 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/0.6605, allocations: 91.52 kB / 0.8238 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/0.6611, allocations: 149.1 kB / 0.824 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.6633, allocations: 1.633 MB / 0.8256 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006487/0.664, allocations: 97.91 kB / 0.8257 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/0.6641, allocations: 29.2 kB / 0.8257 GB, free: 1.008 MB / 0.5919 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 (87): * Single equations (assignments): 86 * 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.0004073/0.6645, allocations: 262.2 kB / 0.8259 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.6646, allocations: 83.67 kB / 0.826 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.6669, allocations: 1.069 MB / 0.8271 GB, free: 160 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6669, allocations: 7.344 kB / 0.8271 GB, free: 160 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.6669, allocations: 0 / 0.8271 GB, free: 160 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.667, allocations: 10.92 kB / 0.8271 GB, free: 152 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.668, allocations: 0.8864 MB / 0.8279 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.668, allocations: 4 kB / 0.828 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005331/0.6685, allocations: 146 kB / 0.8281 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000443/0.669, allocations: 70.97 kB / 0.8282 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/0.669, allocations: 27.7 kB / 0.8282 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.671, allocations: 1.659 MB / 0.8298 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.671, allocations: 0 / 0.8298 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.6729, allocations: 0.9349 MB / 0.8307 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.6733, allocations: 268 kB / 0.831 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.6734, allocations: 21.52 kB / 0.831 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/0.674, allocations: 65.61 kB / 0.8311 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.6742, allocations: 66.06 kB / 0.8311 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/0.6742, allocations: 42.64 kB / 0.8312 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005607/0.6748, allocations: 470.9 kB / 0.8316 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6748, allocations: 0 / 0.8316 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007788/0.6756, allocations: 314.6 kB / 0.8319 GB, free: 12.58 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 (91): * Single equations (assignments): 85 * 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.003936/0.6795, allocations: 1.966 MB / 0.8338 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.6812, allocations: 0.7986 MB / 0.8346 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6812, allocations: 6.719 kB / 0.8346 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009023/0.6821, allocations: 0.5205 MB / 0.8351 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.6833, allocations: 308.7 kB / 0.8354 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009838/0.6932, allocations: 6.148 MB / 0.8414 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/0.6939, allocations: 1.016 MB / 0.8424 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000806/0.6947, allocations: 258.7 kB / 0.8427 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005588/0.6953, allocations: 383.3 kB / 0.843 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.6953, allocations: 0 / 0.843 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05607/0.7513, allocations: 21.48 MB / 0.864 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.43, allocations: 15.61 kB / 0.864 GB, free: 14.9 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)