Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_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.004775/0.004775, allocations: 96.89 kB / 15.73 MB, free: 6 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.001297/0.001297, allocations: 189.2 kB / 16.67 MB, free: 5.93 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002568/0.002568, allocations: 282.7 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 99.84 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1626, allocations: 86.96 MB / 0.7659 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006549/0.1692, allocations: 4.343 MB / 0.7701 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4715/0.6408, allocations: 150.5 MB / 0.9171 GB, free: 8.055 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006363/0.6415, allocations: 15.94 kB / 0.9172 GB, free: 8.039 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005253/0.642, allocations: 168.7 kB / 0.9173 GB, free: 7.875 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.6436, allocations: 0.5001 MB / 0.9178 GB, free: 7.391 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.6454, allocations: 0.8219 MB / 0.9186 GB, free: 6.594 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001456/0.6469, allocations: 1.301 MB / 0.9199 GB, free: 5.285 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008885/0.6478, allocations: 0.6195 MB / 0.9205 GB, free: 4.648 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006251/0.6484, allocations: 470.4 kB / 0.9209 GB, free: 4.188 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005944/0.649, allocations: 485.8 kB / 0.9214 GB, free: 3.711 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.6492, allocations: 112 kB / 0.9215 GB, free: 3.602 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009023/0.6501, allocations: 491.5 kB / 0.922 GB, free: 3.121 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.6505, allocations: 295 kB / 0.9223 GB, free: 2.832 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005264/0.651, allocations: 0.5362 MB / 0.9228 GB, free: 2.293 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.6529, allocations: 1.609 MB / 0.9244 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.653, allocations: 0 / 0.9244 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.473e-06/0.653, allocations: 0 / 0.9244 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.653, allocations: 0 / 0.9244 GB, free: 0.6875 MB / 0.67 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.002547/0.6555, allocations: 1.452 MB / 0.9258 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.6556, allocations: 8.031 kB / 0.9258 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.6558, allocations: 135.4 kB / 0.9259 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008785/0.6567, allocations: 196 kB / 0.9261 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.6579, allocations: 0.7663 MB / 0.9268 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.826e-05/0.6579, allocations: 69.75 kB / 0.9269 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.6581, allocations: 76 kB / 0.927 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.6597, allocations: 0.9184 MB / 0.9279 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.6597, allocations: 0 / 0.9279 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.16e-05/0.6598, allocations: 36 kB / 0.9279 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.6598, allocations: 24 kB / 0.9279 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.6617, allocations: 1.1 MB / 0.929 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/0.6656, allocations: 2.473 MB / 0.9314 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.6672, allocations: 0.7964 MB / 0.9322 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005513/0.6677, allocations: 298.6 kB / 0.9325 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.147e-05/0.6678, allocations: 40.61 kB / 0.9325 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009153/0.6687, allocations: 495.1 kB / 0.933 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 2.435e-06/0.6687, allocations: 0 / 0.933 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.003233/0.672, allocations: 1.186 MB / 0.9342 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.6721, allocations: 192.6 kB / 0.9343 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008403/0.673, allocations: 0.6332 MB / 0.935 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.673, allocations: 37.7 kB / 0.935 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.6734, allocations: 405 kB / 0.9354 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.6737, allocations: 269.7 kB / 0.9356 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.6739, allocations: 150.6 kB / 0.9358 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.6741, allocations: 390.7 kB / 0.9362 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/0.6747, allocations: 245.9 kB / 0.9364 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/0.6753, allocations: 358.6 kB / 0.9367 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.6765, allocations: 0.578 MB / 0.9373 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6765, allocations: 0 / 0.9373 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001967/0.6785, allocations: 0.8024 MB / 0.9381 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.6785, allocations: 8 kB / 0.9381 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6785, allocations: 0 / 0.9381 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005839/0.6791, allocations: 84.77 kB / 0.9382 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.6797, allocations: 151.8 kB / 0.9383 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.6821, allocations: 1.629 MB / 0.9399 GB, free: 248 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007445/0.6829, allocations: 91.17 kB / 0.94 GB, free: 160 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.6829, allocations: 35.97 kB / 0.94 GB, free: 124 kB / 0.6856 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.0004761/0.6834, allocations: 261.6 kB / 0.9403 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.6836, allocations: 91.5 kB / 0.9404 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.6861, allocations: 1.053 MB / 0.9414 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.6861, allocations: 12 kB / 0.9414 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/0.6861, allocations: 0 / 0.9414 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.6861, allocations: 7.922 kB / 0.9414 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.6873, allocations: 0.8997 MB / 0.9423 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6873, allocations: 3.984 kB / 0.9423 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/0.6879, allocations: 139.8 kB / 0.9424 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/0.6883, allocations: 80.81 kB / 0.9425 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/0.6884, allocations: 27.97 kB / 0.9425 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.6904, allocations: 1.65 MB / 0.9441 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6904, allocations: 0 / 0.9441 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.6925, allocations: 0.9284 MB / 0.9451 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.6929, allocations: 276.2 kB / 0.9453 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.693, allocations: 16 kB / 0.9453 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/0.6936, allocations: 73.34 kB / 0.9454 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.6938, allocations: 68.89 kB / 0.9455 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.158e-05/0.6939, allocations: 35.98 kB / 0.9455 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005972/0.6945, allocations: 459 kB / 0.9459 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2e-07/0.6945, allocations: 0 / 0.9459 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007977/0.6953, allocations: 311.2 kB / 0.9462 GB, free: 9.512 MB / 0.7012 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.004108/0.6994, allocations: 1.981 MB / 0.9482 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.7011, allocations: 0.7975 MB / 0.9489 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7011, allocations: 0 / 0.9489 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009569/0.7021, allocations: 0.5197 MB / 0.9495 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.7032, allocations: 304.1 kB / 0.9497 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.7144, allocations: 6.237 MB / 0.9558 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.7151, allocations: 1.015 MB / 0.9568 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007893/0.7159, allocations: 262.5 kB / 0.9571 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/0.7165, allocations: 379.3 kB / 0.9574 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of SimCode: time 7.41e-07/0.7165, allocations: 0 / 0.9574 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05789/0.7744, allocations: 21.1 MB / 0.978 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.61, allocations: 15.44 kB / 0.9781 GB, free: 9.312 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)